how to check for something in a python list code example
Example 1: check if list of list python
for item in list_of_lists:
isinstance(item, list)
Example 2: how to check if value is in list python
>>> letters = [a,b,c,d,e]
>>> 'a' in letters:
True