private static bool IsSpecified(string value, string defaultValue) { if (string.IsNullOrEmpty(value)) return false; return value != defaultValue; }