@Override
    protected final Event doExecute(final RequestContext requestContext) throws Exception {
        val activeFlow = requestContext.getActiveFlow();
        try {
            WebUtils.putActiveFlow(requestContext);
            val applicationContext = activeFlow.getApplicationContext();
            val clientInfo = ClientInfoHolder.getClientInfo();
            val scope = new HashMap<>(requestContext.getConversationScope().asMap());
            scope.putAll(requestContext.getFlowScope().asMap());
            scope.putAll(requestContext.getFlashScope().asMap());
            applicationContext.publishEvent(new CasWebflowActionExecutingEvent(this, scope, clientInfo));
            return doExecuteInternal(requestContext);
        } catch (final Exception e) {
            throw e;
        } catch (final Throwable e) {
            val currentState = Optional.ofNullable(requestContext.getCurrentState())
                .map(StateDefinition::getId).orElse("unknown");
            throw new ActionExecutionException(activeFlow.getId(),
                currentState, this, requestContext.getAttributes(), e);
        }
    }
Is login flow active.

@param requestContext the request context
@return true/false
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/actions/BaseCasWebflowAction.java