protected boolean isTokenRequest(final WebContext context) {
        return getArtifactParameter(context).isPresent();
    }
<p>isTokenRequest.</p>

@param context a {@link WebContext} object
@return a boolean
pac4j-cas/src/main/java/org/pac4j/cas/credentials/extractor/CasCredentialsExtractor.java