'Return true if on.'

@property
def is_on(self):

    if ((time() - self._change_timestamp) < 10):
        return self._state
    self._state = (hub.get_first("$.smartPlugs[?(@.deviceLabel    ==    '%s')].currentState", self._device_label) == 'ON')
    return self._state
