code: def _check_disabled(self):
          
          if self.config['check_disabled']:
              if self.config['on_disabled'] == 'withdraw':
                  self.log.info("Check is disabled and ip_prefix will be "
                                "withdrawn")
                  self.log.info("adding %s in the queue", self.ip_with_prefixlen)
                  self.action.put(self.del_operation)
                  self.log.info("Check is now permanently disabled")
              elif self.config['on_disabled'] == 'advertise':
                  self.log.info("check is disabled, ip_prefix wont be withdrawn")
                  self.log.info("adding %s in the queue", self.ip_with_prefixlen)
                  self.action.put(self.add_operation)
                  self.log.info('check is now permanently disabled')
  
              return True
  
          return False
docs: Check if health check is disabled.
  
          It logs a message if health check is disabled and it also adds an item
          to the action queue based on 'on_disabled' setting.
  
          Returns:
              True if check is disabled otherwise False.