code: protected boolean validateSecretToken(Response response) {
  
          if (this.secretToken == null)
              return (true);
  
          String secretToken = response.getHeaderString(X_GITLAB_TOKEN_HEADER);
          if (secretToken == null)
              return (false);
  
          return (this.secretToken.equals(secretToken));
      }
docs: Validates the secret token (X-GitLab-Token) header against the expected secret token, returns true if valid,
  otherwise returns false.
  
  @param response the Response instance sent from the GitLab server
  @return true if the response's secret token is valid, otherwise returns false