@Override
    public int hashCode() {
        return Objects.hash(hasOverride, 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