check if var is a list 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