default BeanSupplier<T> when(final boolean rawValue) {
        return when(() -> rawValue);
    }
Specify condition for bean supplier to create beans.

@param rawValue the raw value
@return the bean supplier
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/spring/beans/BeanSupplier.java