Use "have" or "has" any/anyone/anything in the question?
Anyone and anything are pronouns taking singular agreement. Any (in the sense under discussion) is a determiner used to reference singular, plural and mass nouns: Has any pupil managed to solve this?