Gynecologist

When you go to the gynecologist, can they tell if you have had sex?

Long story on why I want to know