結果 : python if object has function