I think ```if (hubCache.ContainsKey(hubInfo.Name)``` is clearer.