isOn property

bool isOn
getter/setter pair

Toggle state (ON/OFF)

Implementation

bool isOn = false;