code: protected boolean processSpnegoAttribute(final Response<SearchResult> searchResult) {
          val result = searchResult.getResult();
  
          if (result == null || result.getEntries().isEmpty()) {
              LOGGER.debug("Spnego attribute is not found in the search results");
              return false;
          }
          val entry = result.getEntry();
          val attribute = entry.getAttribute(this.spnegoAttributeName);
          LOGGER.debug("Spnego attribute [{}] found as [{}] for [{}]", attribute.getName(), attribute.getStringValue(), entry.getDn());
          return verifySpnegoAttributeValue(attribute);
      }
docs: Verify spnego attribute value.
  
  @param searchResult the search result
  @return true if attribute value exists and has a value