@property
    def is_on(self):
        return self._state
Test that IDs are correctly rewritten in id, for, and headers
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/command_line.py/CommandSwitch.is_on--crossover with--dataset/ETHPy150Open twisted/nevow/nevow/test/test_athena.py/UtilitiesTests.test_athenaIdRewriting