結果 : python test if object is instance of class