結果 : python check if method exists in object