check if any item of list in list python code example
Example 1: check if list of list python
for item in list_of_lists:
isinstance(item, list)
Example 2: if list item in string python
if any(ext in url_string for ext in extensionsToCheck):
print(url_string)