結果 : python check if attribute exists in object