protected boolean isMultifactorAuthenticationBypass(final RequestContext requestContext,
                                                        final RegisteredService service,
                                                        final MultifactorAuthenticationProvider provider) {
        val failureEval = provider.getFailureModeEvaluator();
        return requestContext.getCurrentTransition().getId().equals(CasWebflowConstants.TRANSITION_ID_BYPASS)
               || (failureEval != null && failureEval.evaluate(service, provider).isAllowedToBypass() && !provider.isAvailable(service));
    }
Action that is responsible for determining if this MFA provider for the current subflow can
be bypassed for the user attempting to login into the service.

@author Travis Schmidt
@since 5.3.4
core/cas-server-core-webflow-mfa-api/src/main/java/org/apereo/cas/web/flow/actions/MultifactorAuthenticationBypassAction.java