requested_toppings = ['mushrooms', 'onions', 'pineapple']

print('mushrooms' in requested_toppings)
print('pepperoni' in requested_toppings)

'''
This technique is very good in detecting whether something is already present
eg: Username taken! Please try a different username!
'''