def METHOD_NAME(labcontroller, new_value, old_value, initiator):
    if new_value is True:
        for system in labcontroller.systems:
            if system.scheduler_status == SystemSchedulerStatus.idle:
                log.debug('Idle system %s is in newly enabled lab %s, flagging it for scheduling',
                          system, labcontroller)
                system.scheduler_status = SystemSchedulerStatus.pending