check if a list contains an item python not the same reference code example
Example: how to check if value is in list python
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True