code: def server_check() -> bool:
      """Check whether localhost can access the PaddleHub default server normally."""
      if module_server.get_source_by_key(
          "default_hub_server"
      ).is_connected():
          log.logger.info("Request Hub-Server successfully.")
          return True
  
      log.logger.info("Request Hub-Server unsuccessfully.")
      return False
  
imports: from paddlehub.server.server_source import ServerSource
  from paddlehub.server.git_source import GitSource
  from paddlehub.server.server import module_server
  from paddlehub.utils import log
label_desc: Use image node_id 1 for calling a global function with example usage: server_check() and returns: False, True