public bool CanClose() { Map map = Map; if ( map == null || Deleted ) return false; foreach ( object o in this.GetObjectsInRange( 0 ) ) { if ( o != this ) return false; } return true; }