結果 : python check if method exists on object