Checking for hernias, something that could give you a lot of grief if it went bad. Arguably not that big a deal not something I hear being done a lot these days. I had to do the same when I was doing flight training. The intent was to prevent a medical issue from blowing up into a much bigger deal, and while potentially embarassing it was minimally invasive.
This, this is not medically necessary this is solely informed by culture war nonsense and transphobia. And once the transvestigators get involved how many girls families will be expected to spend thousands of dollars on genetic and hormone testing? This is being presented as defending women's sports but it's actually a potentially massive impediment.
Conservatives and Christians turning women's sports into the Battle of Bến Tre. What a time to be alive.