code: def load_module(name):
      
      try:
          mod = None
          mod = sys.modules[name]
      except KeyError:
          mod = import_module(name)
      finally:
          if not mod:
              raise ImportError('unable to import module %s' % name)
          return mod
docs: Attempts to load a module into the current environment
  
      This function will load a module specified by name.  The module
      name is first checked to see if it is already loaded and will return
      the module if it is.   If the module hasn't been previously loaded
      it will attempt to import it
  
      Args:
          name (str): Specifies the full name of the module.  For instance
              pyeapi.api.vlans
  
      Returns:
          The module that has been imported or retrieved from the sys modules