public virtual bool ContainsKey(K1 o1, K2 o2) { if (!map.Contains(o1)) { return(false); } IntCounter <K2> c = map[o1]; return(c.ContainsKey(o2)); }