No, labs do not check for gender. Labs can only perform the tests they say they can for legal reasons. For example, if a female is taking a urine test for illicit drugs, labs cannot test her urine to determine if she is pregnant for reasons of precluding her from employment.

Lots of people sub with their child's, spouse's or other donors of the opposite sex. Good luck.