code: public boolean isReachable() {
          try {
              URL url = new URL(mathoidConfig.getUrl() + "/mml");
              SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory();
              ClientHttpRequest req = factory.createRequest(url.toURI(), HttpMethod.POST);
              req.execute();
              return true;
          } catch (Exception e) {
              return false;
          }
      }
docs: Returns true if the Mathoid service is reachable, otherwise false.
  
  @return