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