Can your docotor be able to tell if ur sexally activie

Patient: My boyfriend is goin to jail for 2yrs and he thinks while he is in there that i will be having sex….. Is there a way to prove once he gets home that i havent been having sex?