public boolean supports(final JEEContext context) {
        return context.getRequestAttribute(OAuth20Constants.ERROR).isPresent();
    }
Supports request?

@param context the context
@return true/false
support/cas-server-support-oauth-core-api/src/main/java/org/apereo/cas/support/oauth/web/response/callback/OAuth20InvalidAuthorizationResponseBuilder.java