code: def check_parameters_match(func, *, cls=None, where):
      """Check docstring, return list of incorrect results."""
      from numpydoc.validate import validate
  
      name = _func_name(func, cls)
      skip = not name.startswith("mne.") or any(
          re.match(d, name) for d in docstring_ignores
      )
      if skip:
          return list()
      if cls is not None:
          for subclass, ignores in subclass_name_ignores:
              if (
                  issubclass(cls, subclass)
                  and name.split(".")[-1] in ignores
              ):
                  return list()
      incorrect = [
          f"{where} : {name} : {err[0]} : {err[1]}"
          for err in validate(name)["errors"]
          if err[0] not in error_ignores
          and (name.split(".")[-1], err[0])
          not in error_ignores_specific
      ]
      # Add a check that all public functions and methods that have "verbose"
      # set the default verbose=None
      if cls is None:
          mod_or_class = importlib.import_module(
              ".".join(name.split(".")[:-1])
          )
      else:
          mod_or_class = importlib.import_module(
              ".".join(name.split(".")[:-2])
          )
          mod_or_class = getattr(
              mod_or_class, cls.__name__.split(".")[-1]
          )
      callable_ = getattr(mod_or_class, name.split(".")[-1])
      try:
          sig = inspect.signature(callable_)
      except ValueError as exc:
          msg = str(exc)
          # E   ValueError: no signature found for builtin type
          #     <class 'mne.forward.forward.Forward'>
          if (
              inspect.isclass(callable_)
              and "no signature found for builtin type" in msg
          ):
              pass
          else:
              raise
      else:
          if "verbose" in sig.parameters:
              verbose_default = sig.parameters["verbose"].default
              if verbose_default is not None:
                  incorrect += [
                      f"{name} : verbose default is not None, "
                      f"got: {verbose_default}"
                  ]
      return incorrect
  
file_path: mne-python/mne/tests/test_docstring_parameters.py
imports: import importlib
  import inspect
  import re
  from pathlib import Path
  from pkgutil import walk_packages
  import pytest
  import mne
  from mne.utils import _pl, _record_warnings
label_desc: Use image node_id 2 for calling a global function with example usage: check_parameters_match(func) and returns: incorrect, list, list