class_docstr: Manages optional dependencies for data-describe.
  
  Examples:
      Optional modules can be accessed using dictionary-style attributes::
  
          _compat = _DependencyManager()
          engine = _compat["presidio_analyzer"].AnalyzerEngine()
  
  Attributes:
      imports (Dict[str, Callable]): A mapping of package names and associated
          import functions to download additional resources.
      installed_modules (Dict[str, bool]): A mapping of packages detected as being
          installed.
      modules (Dict[str, ModuleType]): A mapping of the imported modules. Typically
          accessed using dictionary-style access.
class_docstr_tok: ["Manages","optional","dependencies","for","data-describe",".","Examples",":","Optional","modules","can","be","accessed","using","dictionary-style","attributes",":",":","_compat","=","_DependencyManager","(",")","engine","=","_compat","[","``","presidio_analyzer","''","]",".AnalyzerEngine","(",")","Attributes",":","imports","(","Dict","[","str",",","Callable","]",")",":","A","mapping","of","package","names","and","associated","import","functions","to","download","additional","resources",".","installed_modules","(","Dict","[","str",",","bool","]",")",":","A","mapping","of","packages","detected","as","being","installed",".","modules","(","Dict","[","str",",","ModuleType","]",")",":","A","mapping","of","the","imported","modules",".","Typically","accessed","using","dictionary-style","access","."]
docstr: Checks to see if a module is installed.
docstr_tok: ["Checks","to","see","if","a","module","is","installed","."]
code: def check_install(self, module: str) -> bool:
      """Checks to see if a module is installed."""
      try:
          return self.installed_modules[module]
      except KeyError:
          try:
              if find_spec(module) is not None:
                  self.installed_modules[module] = True
              else:
                  self.installed_modules[module] = False
          except ImportError as err:
              warnings.warn(f"Failed to import {module}: {str(err)}")
              self.installed_modules[module] = False
          return self.installed_modules[module]
  
file_path: data-describe/data_describe/compat/_dependency.py
imports: from importlib.util import find_spec
  from importlib import import_module
  import warnings
  from functools import wraps
  from types import ModuleType
  from typing import Dict, Callable, List
  from data_describe.misc.logging import OutputLogger
  from data_describe.compat._notebook import _check_plotly_extension
label_desc: Use image node_id 3 for calling the _DependencyManager obj's underlying member method code with example usage: obj.check_install(module) and returns: self, self