where are you getting genital inspection from?
reproductive anatomy - (ovaries or testes), can be checked via ultrasound.
genetic makeup - (chromosomes, presence of the SR-Y gene), can be checked via cheek swab. (easiest, least invasive, and cheapest method. most likely to be used.)
or normal endogenously produced testosterone levels - can be checked via blood draw.