code: def get_plugin_manager(
      plugins: Sequence[str | Path] | None = None, builtins=True
  ) -> OcrmypdfPluginManager:
      return OcrmypdfPluginManager(
          project_name="ocrmypdf",
          plugins=plugins if plugins is not None else [],
          builtins=builtins,
      )
  
file_path: OCRmyPDF/src/ocrmypdf/_plugin_manager.py
imports: from __future__ import annotations
  import argparse
  import importlib
  import importlib.util
  import pkgutil
  import sys
  from collections.abc import Sequence
  from pathlib import Path
  import pluggy
  import ocrmypdf.builtin_plugins
  from ocrmypdf import pluginspec
  from ocrmypdf.cli import get_parser, plugins_only_parser
label_desc: Use image node_id 1 for calling a global function with example usage: get_plugin_manager(plugins, builtins) and returns: OcrmypdfPluginManager