protected boolean isDelegatedAuthenticationActiveFor(final RequestContext requestContext,
                                                         final PasswordlessUserAccount user) {
        val status = user.getDelegatedAuthenticationEligible();
        if (status.isTrue()) {
            LOGGER.trace("Passwordless account [{}] is eligible for delegated authentication", user);
            return true;
        }
        if (status.isFalse()) {
            LOGGER.trace("Passwordless account [{}] is not eligible for delegated authentication", user);
            return false;
        }
        return casProperties.getAuthn().getPasswordless().getCore().isDelegatedAuthenticationActivated();
    }
Should delegate authentication for user?

@param requestContext the request context
@param user           the user
@return true/false
support/cas-server-support-passwordless-webflow/src/main/java/org/apereo/cas/web/flow/BasePasswordlessCasWebflowAction.java