private static ConditionOutcome evaluateFeatureCondition(final ConditionContext context,
                                                             final Map<String, Object> attributes) {
        val feature = (CasFeatureModule.FeatureCatalog[]) attributes.get("feature");
        val module = (String) attributes.get("module");
        val enabledByDefault = (boolean) attributes.get("enabledByDefault");
        return getConditionOutcome(context, feature, module, enabledByDefault);
    }
This is {@link CasFeatureEnabledCondition}.

@author Misagh Moayyed
@since 6.5.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/boot/CasFeatureEnabledCondition.java