How can it be determine if a male have had anal sex,when he have never had anal sex before

Patient: Is there a medical way to determine if a male have had anal sex,when he have never had anal sex and what medical procedure is use to determine if he had?

Doctor: