How does the gynecologist know if I broke the hymen?

Does the gynecologist know if I broke the hymen with my finger or sex? And if I do not want him to say I'm not a virgin to my parents, will he help me even if my parents insist?
Expert answer:

Yes for both questions.