python check if list is string code example
Example 1: python check array param
isinstance([0, 10, 20, 30], list) # True
isinstance(50, list) # False
Example 2: check if anything in a list is in a string python
y = any(x in String for x in List)