if string is first item in a list python code example
Example 1: how to check if item is in list js
var myList=["a", "b", "c"];
mylist.includes("d")//returns true or false
Example 2: if list item in string python
if any(ext in url_string for ext in extensionsToCheck):
print(url_string)