public static boolean isMultifactorDeviceRegistrationEnabled(final RequestContext requestContext) {
        val enabled = Objects.requireNonNullElse(requestContext.getFlowScope().getBoolean("mfaDeviceRegistrationEnabled", Boolean.TRUE), Boolean.TRUE);
        return BooleanUtils.toBoolean(enabled);
    }
Is multifactor device registration enabled?

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