Mrs. Doubtfire

Mrs. Doubtfire is a real life film from 1993. In it, a couple with three children divorces, and the dad dresses up as a woman to become their nanny, because he wants to spend more time with them. In the episode "Simpsoncalifragilisticexpeali(Annoyed Grunt)cious, Homer tries to pull off potential nanny's hair to see if they are men, essentially scaring them away.