code: public boolean canPing() {
          try {
              val connection = (HttpURLConnection) new URL(this.swivelUrl).openConnection();
              connection.setRequestMethod(HttpMethod.GET.name());
              connection.connect();
              return connection.getResponseCode() == HttpStatus.SC_OK;
          } catch (final Exception e) {
              LOGGER.warn(e.getMessage(), e);
          }
          return false;
      }
docs: Can ping provider?
  
  @return the boolean