I dont know if that is true or not. I have not ready up on breeding and genetics stuff enough to know. However, in my opinion(without reading up on it) I would assume the gender is determined based on the what sperm is in the egg.
Just like humans, its either an x or y chromosome that makes you...