python check variable is list or not code example
Example: python check variable is list or not
isinstance([0, 10, 20, 30], list) # True
isinstance(50, list) # False
isinstance([0, 10, 20, 30], list) # True
isinstance(50, list) # False