Medical CheckUp for Sex

Patient: I had sex with a woman aged 40 and now she’s going to have a medical test to check if she had sex or not is there any way a test can tell she had sex?? We had sex about 20 days ago and she is having her period also