class_docstr: LocalModuleManager is used to manage PaddleHub's local Module, which supports the installation, uninstallation,
  and search of HubModule. LocalModuleManager is a singleton object related to the path, in other words, when the
  LocalModuleManager object of the same home directory is generated multiple times, the same object is returned.
  
  Args:
      home (str): The directory where PaddleHub modules are stored, the default is ~/.paddlehub/modules
class_docstr_tok: ["LocalModuleManager","is","used","to","manage","PaddleHub","'s","local","Module",",","which","supports","the","installation",",","uninstallation",",","and","search","of","HubModule",".","LocalModuleManager","is","a","singleton","object","related","to","the","path",",","in","other","words",",","when","the","LocalModuleManager","object","of","the","same","home","directory","is","generated","multiple","times",",","the","same","object","is","returned",".","Args",":","home","(","str",")",":","The","directory","where","PaddleHub","modules","are","stored",",","the","default","is","~\/.paddlehub\/modules"]
docstr: Return True if uninstall successfully else False
docstr_tok: ["Return","True","if","uninstall","successfully","else","False"]
code: def uninstall(self, name: str) -> bool:
      """Return True if uninstall successfully else False"""
      if not os.path.exists(self._get_normalized_path(name)):
          log.logger.info("{} is not installed".format(name))
          return False
  
      shutil.rmtree(self._get_normalized_path(name))
      if name in self._local_modules:
          log.logger.info(
              "Successfully uninstalled {}-{}".format(
                  name, self._local_modules[name].version
              )
          )
          self._local_modules.pop(name)
      else:
          log.logger.info("Successfully uninstalled {}".format(name))
      return True
  
imports: import os
  import shutil
  import sys
  from collections import OrderedDict
  from typing import List
  import filelock
  from paddlehub.env import MODULE_HOME, TMP_HOME
  from paddlehub.module.module import Module
  from paddlehub.server import module_server
  from paddlehub.utils import xarfile, log, utils, pypi
label_desc: Use image node_id 6 for calling the LocalModuleManager obj's underlying member method code with example usage: obj.uninstall(name) and returns: True, False