isinstance(p_object, class_or_type_or_tuple):判断对象的类型
a=123 ret=isinstance(a,int) print(ret) #输出:True li=[2,57,4] ret1=isinstance(li,list) print(ret1) #输出:True