@staticmethod
    def _parse_field_error(xml):
        errors = {}
        for error in xml.iter('field-error'):
            attribs = error.attrib
            errors[attribs['name']] = {'code': attribs['code'],
                                       'error': attribs['error']}
        return errors
Return true if away mode is on.
dataset/ETHPy150Open MediaMath/t1-python/terminalone/xmlparser.py/XMLParser._parse_field_error--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/thermostat/__init__.py/ThermostatDevice.is_away_mode_on