private bool UpdateRequired(ReadOnlyCollection <Lambda> lambda, AtomicDictionary <uint, Lambda> lambdaCarrier) { if (lambda.Count != lambdaCarrier.Count) { return(true); } foreach (var item in lambda) { if (!lambdaCarrier.ContainsKey(item.atI)) { return(true); } } return(false); }