public static bool IsContent(this TypedEntity entity, IReadonlyGroupUnit<IContentStore> uow) { var ancestorRelations = uow.Repositories.GetAncestorRelations(entity.Id, FixedRelationTypes.DefaultRelationType).ToArray(); return ancestorRelations.Any(x => x.SourceId.Value == FixedHiveIds.ContentVirtualRoot.Value); }