The same way you find out if all sharks are male or female. Turn them over and look near their rear... if you see two pointy projections, called claspers, pointed towards their tail it is a male. If there is no such claspers seen they are female.
Jim