public static bool IsTrackableDictionary(Type type) { return type.IsGenericType && type.GetGenericTypeDefinition() == typeof(TrackableDictionary<,>); }