def validate(text): contradictions = ["war is peace", "freedom is slavery", "ignorance is strength"] for phrase in contradictions: if phrase in text.lower(): return True return False