private static boolean isTokenNtlm(final byte[] token) {
        return token != null && token.length >= NTLM_TOKEN_MAX_LENGTH
               && IntStream.range(0, NTLM_TOKEN_MAX_LENGTH).noneMatch(i -> NTLMSSP_SIGNATURE[i] != token[i]);
    }
Checks if is token ntlm.

@param token the token
@return true, if  token ntlm
support/cas-server-support-spnego/src/main/java/org/apereo/cas/support/spnego/authentication/principal/SpnegoCredential.java