how to check if var is list python code example Example: python type == list if isinstance(object, list): ## DO what you want