code: def list_private_functions(body) -> list[str]:
      """Check functions of a module or methods of a class."""
      function_definitions = [
          node for node in body if isinstance(node, ast.FunctionDef)
      ]
      return [
          f.name for f in function_definitions if f.name.startswith("_")
      ]
  
file_path: nilearn/maint_tools/check_private.py
imports: from __future__ import annotations
  import ast
  from pathlib import Path
  import pandas
  from rich import print
label_desc: Use image node_id 2 for calling a global function with example usage: list_private_functions(body) and returns: unknown