python check if type list code example Example: python check array param isinstance([0, 10, 20, 30], list) # True isinstance(50, list) # False