public void ifOverridePresent(final Consumer<Optional<T>> consumer) {
        if (hasOverride) {
            consumer.accept(Optional.ofNullable(value));
        }
    }
If an override value is present then the passed consumer will consume the override value
optional which may be empty if a null/empty override has explicitly been set.
stroom-core-shared/src/main/java/stroom/config/global/shared/OverrideValue.java