py see if variable is a list 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