def ack(self, multiple=False):
        if self.rx_channel is None:
            raise ValueError('cannot ack an unreceived message')
        method = basic.Ack(delivery_tag=self.rx_data.delivery_tag,
                           multiple=multiple)
        self.rx_channel.send_method(method)
Return true if device is on.
dataset/ETHPy150Open paolo-losi/stormed-amqp/stormed/message.py/Message.ack--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/command_line.py/CommandSwitch.is_on