結果 : python how to check if object is class