docs: def get_module(name: str) -> typing.Union[types.ModuleType, None]:
      """
      Retrieves the loaded module for the given module name or returns None if
      no such module has been loaded.
  
      :param name:
          The name of the module to be retrieved
      :return:
          Either the loaded module with the specified name, or None if no such
          module has been imported.
      """
      return sys.modules.get(name)