@property
    def is_on(self):
        return bool(self.arest.data.get('state'))
Accepts YAML_EX as a string or as a file object and runs it through the YAML_EX
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/arest.py/ArestBinarySensor.is_on--crossover with--dataset/ETHPy150Open saltstack/salt/salt/renderers/yamlex.py/render