Whether it's trying to mate with the other or not does not matter and will not tell you if the other is a female (males will lock with each others)

You need to get the animal sexed