code: def _check_backend(
      backend_type: str,
      loaded_backends: dict,
      module: Optional[ModuleType] = None,
  ) -> bool:
      """Checks if the backend has already been loaded.
  
      Args:
          backend_type: The name of the backend
          loaded_backends: The global backends dictionary
          module: The module that implements the backend
  
      Returns:
          True if the backend/module exists in the loaded backends dictionary
      """
      if backend_type in loaded_backends:
          if module is None:
              return True
          else:
              if str(module.__path__) in loaded_backends[backend_type]:  # type: ignore
                  return True
      return False
  
file_path: data-describe/data_describe/backends/_backends.py
imports: import importlib
  from types import ModuleType
  from typing import Dict, List, Optional
  from data_describe.config._config import get_option
  from data_describe.compat import _DATAFRAME_BACKENDS
label_desc: Use image node_id 5 for calling a global function with example usage: _check_backend(backend_type, loaded_backends, module) and returns: False, True, True