Is there a way to identify if a person is a virgin?

The short answer is no.

The most popular indicator of virginity is considered to be an intact hymen.

The hymen is a thin, fleshy tissue located at the entrance of the vagina. Some hymen tissues are so thin from birth that they are almost non-existent. Others stretch enough to not bleed during sex.

The hymen can also break due to horse riding, use of tampons, masturbation, rigorous physical activities and so on.

So the bottom line is that there is no standard way of identifying if a person is a virgin.