How to check if a item i sin a list python code example Example: check if list of list python for item in list_of_lists: isinstance(item, list)