isEnabled method

bool isEnabled()

Implementation

bool isEnabled() {
  return state == 1;
}