結果 : python check if value is instance of class