code: public boolean ping() {
          try {
              return ping(getResource());
          } catch (Exception e) {
              log.error("[GatewayServer] Failed to health check " + toString(), e);
          }
  
          return false;
      }
docs: Ping.
  
  @return true, if successful
  @throws HealthCheckException the health check exception