@Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        final OverrideValue<?> overrideValue = (OverrideValue<?>) o;
        return hasOverride == overrideValue.hasOverride &&
                Objects.equals(value, overrideValue.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