Python dowolny z listy

if any(x == big_foobar for x in foobars):
DreamCoder