結果 : check if xml attribute exists python