code: def initialize(plugin_manager: pluggy.PluginManager) -> None:
      """Called when this plugin is first loaded into OCRmyPDF.
  
      The primary intended use of this is for plugins to check compatibility with other
      plugins and possibly block other blocks, a plugin that wishes to block ocrmypdf's
      built-in optimize plugin could do:
  
      .. code-block::
  
          plugin_manager.set_blocked('ocrmypdf.builtin_plugins.optimize')
  
      It would also be reasonable for an plugin implementation to check if it is unable
      to proceed, for example, because a required dependency is missing. (If the plugin's
      ability to proceed depends on options and arguments, use ``validate`` instead.)
  
      Raises:
          ocrmypdf.exceptions.ExitCodeException: If options are not acceptable
              and the application should terminate gracefully with an informative
              message and error code.
  
      Note:
          This hook will be called from the main process, and may modify global state
          before child worker processes are forked.
      """
  
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from argparse import ArgumentParser, Namespace
  from collections.abc import Sequence, Set
  from logging import Handler
  from pathlib import Path
  from typing import TYPE_CHECKING, NamedTuple
  import pluggy
  from ocrmypdf import Executor, PdfContext
  from ocrmypdf._progressbar import ProgressBar
  from ocrmypdf.helpers import Resolution
label_desc: Use image node_id 2 for calling a global function with example usage: initialize(plugin_manager) without return types