public SourceType getSource(final OverrideValue<String> databaseOverrideValue,
                                final OverrideValue<String> yamlOverrideValue) {
        if (yamlOverrideValue != null && yamlOverrideValue.isHasOverride()) {
            return SourceType.YAML;
        } else if (databaseOverrideValue != null && databaseOverrideValue.isHasOverride()) {
            return SourceType.DATABASE;
        } else {
            return SourceType.DEFAULT;
        }
    }
@return True if a change to the value requires a restart of the UI nodes to take affect.
stroom-core-shared/src/main/java/stroom/config/global/shared/ConfigProperty.java