A PAP smear can sometimes detect trichomoniasis, but it is not the primary test for diagnosing the infection.