@Override
    public boolean isInterrupted(final RequestContext requestContext) {
        return FunctionUtils.doAndHandle(
                __ -> {
                    val interruptResponse = forCurrentRequest(requestContext);
                    val authentication = WebUtils.getAuthentication(requestContext);
                    return interruptResponse.stream().anyMatch(InterruptResponse::isInterrupt)
                        || (authentication != null && authentication.containsAttribute(AUTHENTICATION_ATTRIBUTE_FINALIZED_INTERRUPT));
                }, e -> false)
            .apply(requestContext);
    }
This is {@link SimpleInterruptTrackingEngine}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-interrupt-core/src/main/java/org/apereo/cas/interrupt/SimpleInterruptTrackingEngine.java