結果 : python test if attribute exists