code: def check_files(
      files, terms: list[str], files_to_skip: list[str]
  ) -> None:
      """Check if terms present in files are not linked to glossary."""
      count = 1
  
      for term in terms:
          for file in files:
              if file is None or file.name in files_to_skip:
                  continue
              tmp = check_file_content(file, term)
              count += tmp
  
      return count
  
file_path: nilearn/maint_tools/check_glossary_term.py
imports: from __future__ import annotations
  import ast
  from pathlib import Path
  from docstring_parser import parse
  from docstring_parser.common import DocstringStyle
  from rich import print
label_desc: Use image node_id 4 for calling a global function with example usage: check_files(files, terms, files_to_skip) and returns: count