public bool ContainsObjectWithId(int id)
 {
     foreach (var e in _container.GetContentTable())
         if (e.ObjectId == id)
             return true;
     return false;
 }