code: def disable_active_checks(self, checks):
          
          self.active_checks_enabled = False
          for chk_id in self.checks_in_progress:
              chk = checks[chk_id]
              chk.status = ACT_STATUS_WAIT_CONSUME
              chk.exit_status = self.state_id
              chk.output = self.output
              chk.check_time = time.time()
              chk.execution_time = 0
              chk.perf_data = self.perf_data
docs: Disable active checks for this host/service
          Update check in progress with current object information
  
          :param checks: Checks object, to change all checks in progress
          :type checks: alignak.objects.check.Checks
          :return: None