private bool IsRegionInMenu(IRegion region) { return(region != null && (region == this.currentMenu || this.IsRegionInMenu(region.GetParent()))); }