code: @Override
      public boolean sendEvent(LrsStatement statement) {
          if (!isEnabled()) {
              return false;
          }
  
          ResponseEntity<Object> response =
                  sendRequest(
                          STATEMENTS_REST_ENDPOINT, HttpMethod.POST, null, statement, Object.class);
          if (response.getStatusCode().series() == Series.SUCCESSFUL) {
              logger.trace("LRS provider successfully sent to {}, statement: {}", LRSUrl, statement);
          } else {
              logger.error("LRS provider failed to send to {}, statement: {}", LRSUrl, statement);
              logger.error("- Response: {}", response);
              return false;
          }
  
          return true;
      }
docs: Actually send an event to the provider.
  
  @param statement the LRS statement to send.