code: def _get_hub_home():
      if "HUB_HOME" in os.environ:
          home_path = os.environ["HUB_HOME"]
          if os.path.exists(home_path):
              if os.path.isdir(home_path):
                  return home_path
              else:
                  raise RuntimeError(
                      "The environment variable HUB_HOME {} is not a directory.".format(
                          home_path
                      )
                  )
          else:
              return home_path
      return os.path.join(_get_user_home(), ".paddlehub")
  
label_desc: Use image node_id 2 for calling a global function with example usage: _get_hub_home() and returns: os, home_path, home_path