code: def find_formatter_class(alias):
      """Lookup a formatter by alias.
  
      Returns None if not found.
      """
      for module_name, name, aliases, _, _ in FORMATTERS.values():
          if alias in aliases:
              if name not in _formatter_cache:
                  _load_formatters(module_name)
              return _formatter_cache[name]
      for _, cls in find_plugin_formatters():
          if alias in cls.aliases:
              return cls
  
file_path: catboost/contrib/python/Pygments/py3/pygments/formatters/__init__.py
imports: import re
  import sys
  import types
  import fnmatch
  from os.path import basename
  from pygments.formatters._mapping import FORMATTERS
  from pygments.plugin import find_plugin_formatters
  from pygments.util import ClassNotFound
label_desc: Use image node_id 4 for calling a global function with example usage: find_formatter_class(alias) and returns: _formatter_cache, cls