@Override
    public boolean supports(final Object handler) {
        return super.supports(handler) && ((FlowHandler) handler).getFlowId().equals(supportedFlowId);
    }
This is {@link CasFlowHandlerAdapter}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/CasFlowHandlerAdapter.java