add isOn() state checker