if isinstance(ini_list1, list): print("your object is a list !") else: print("your object is not a list")