Question: are you a friend of judy?
Answer: The phrase dates back to at least World War II, when homosexual acts were illegal in the United States. Stating that, or asking if, someone was a friend of Dorothy was a euphemism used for discussing sexual orientation without others knowing its meaning.