結果 : python if object has method