Is there a way to detect a predicate

I'm working on a datapack about entering end if a player has a specific item in their armor slots but I can't figure out to detect if a player doesn't have that in their armor
Continue to help post