結果 : python check for instance of class