It's a common area for folks to carry a handgun if they are of the "I don't need no steenkin' holster" persuasion.
Female cops are trained just like male cops - checking for weapons can save your life. If there is a need to be PC/polite you can use the back of your hand first.
And the courts have given both exceptions and great leeway to opposite-sex searches in exigent circumstances. No need to hold sumdood till a male officer can arrive to check out his crotch.
The line probably gets drawn if the searcher is spending an inordinate amount of time and energy in the search.