@Override
    public Supplier<Boolean> given(final ApplicationContext applicationContext) {
        SpringExpressionLanguageValueResolver.getInstance().withApplicationContext(applicationContext);
        return given(applicationContext.getEnvironment());
    }
This is {@link CompoundCondition}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/beans/CompoundCondition.java