結果 : python test if attribute exists in object