結果 : python if attribute exists