Check if at least one element satisfies a condition
for x in numbers: if x % 2 == 0: return True return False any(x % 2 == 0 for x in numbers) # it's a generator, stops at the first occurrence