isSleepingAllowed method

bool isSleepingAllowed ()

Is this body allowed to sleep

@return

Implementation

bool isSleepingAllowed() {
  return (_flags & AUTO_SLEEP_FLAG) == AUTO_SLEEP_FLAG;
}