結果 : python check object has method