code: def _find_type(value, fmts=["FIFF_"], exclude=["FIFF_UNIT"]):
      """Find matching values."""
      value = int(value)
      vals = [
          k
          for k, v in FIFF.items()
          if v == value
          and any(fmt in k for fmt in fmts)
          and not any(exc in k for exc in exclude)
      ]
      if len(vals) == 0:
          vals = ["???"]
      return vals
  
imports: import os.path
  from gzip import GzipFile
  from io import SEEK_SET, BytesIO
  import numpy
  from scipy.sparse import issparse
  from ..utils import _file_like, logger, verbose, warn
  from .constants import FIFF
  from .tag import Tag, _call_dict_names, _matrix_info, _read_tag_header, read_tag
  from .tree import dir_tree_find, make_dir_tree
label_desc: Use image node_id 6 for calling a global function with example usage: _find_type(value, fmts, exclude) and returns: vals