isOn property

bool isOn
getter/setter pair

Whether or not the light is on.

Implementation

bool isOn;