how to check if a var is a list in python code example
Example: python check array param
isinstance([0, 10, 20, 30], list) # True
isinstance(50, list) # False
isinstance([0, 10, 20, 30], list) # True
isinstance(50, list) # False