結果 : python check if function exists in object