code: def _check_plugin_options(
      options: Namespace, plugin_manager: PluginManager
  ) -> None:
      plugin_manager.hook.check_options(options=options)
      ocr_engine_languages = (
          plugin_manager.hook.get_ocr_engine().languages(options)
      )
      check_options_languages(options, ocr_engine_languages)
  
imports: from __future__ import annotations
  import locale
  import logging
  import os
  import sys
  import unicodedata
  from argparse import Namespace
  from collections.abc import Sequence
  from pathlib import Path
  from shutil import copyfileobj
  import pikepdf
  import PIL
  from pluggy import PluginManager
  from ocrmypdf._exec import unpaper
  from ocrmypdf.exceptions import BadArgsError, InputFileError, MissingDependencyError, OutputFileAccessError
  from ocrmypdf.helpers import is_file_writable, monotonic, safe_symlink
  from ocrmypdf.subprocess import check_external_program
label_desc: Use image node_id 12 for calling a global function with example usage: _check_plugin_options(options, plugin_manager) without return types