結果 : python check if object is instance of custom class