def _power_off_in_progress(self):
    return ((self._end_of_power_off is not None) and (self._end_of_power_off > dt_util.utcnow()))
def _power_off_in_progress(self):
    return ((self._end_of_power_off is not None) and (self._end_of_power_off > dt_util.utcnow()))