if "blah" not in somestring:
continue
def is_value_in_string(value: str, the_string: str):
return value in the_string.lower()
if var in ('stringone', 'stringtwo'):
dosomething()
if var in ['string one', 'string two']:
do_something()
if var == 'stringone' or var == 'stringtwo':
dosomething()
if var is 'stringone' or 'stringtwo':
dosomething()
if (var is 'stringone') or 'stringtwo':
dosomething()
if var == 'stringone' or var == 'stringtwo':
do_something()