python function that checks a value agaisnt a list of values code example Example: how to check an array for a value in python s = set(a) if 7 in s: # do stuff