No, it is not. This question is frequently asked by girls and women with an active sexual life. It is reasonable that they want to know if they have been infected by the viruses which the vaccine protects against, and if they will therefore have any benefit from it.
The answer is negative because it is considered completely improbable (based on the existing studies) that someone may be infected by all the types of HPV that are covered, especially as regards Gardasil 9. But even if someone has been infected by one type of the vaccine, it has been proven that vaccination reduces the recurrences of infections caused by that specific type.