code: def remove_check(self, func, *, call_once=False):
          
          l = self._check_once if call_once else self._checks
  
          try:
              l.remove(func)
          except ValueError:
              pass
docs: Removes a global check from the bot.
  
          This function is idempotent and will not raise an exception
          if the function is not in the global checks.
  
          Parameters
          -----------
          func
              The function to remove from the global checks.
          call_once: :class:`bool`
              If the function was added with ``call_once=True`` in
              the :meth:`.Bot.add_check` call or using :meth:`.check_once`.