public static void SetInvariantOrDefaultCultureName(
            this IContentBase content,
            string name,
            IContentTypeComposition contentType,
            ILocalizationService localizationService)
        {
            if (contentType is null)
            {
                throw new ArgumentNullException(nameof(contentType));
            }

            var variesByCulure = contentType.VariesByCulture();

            if (variesByCulure)
            {
                content.SetCultureName(name, localizationService.GetDefaultLanguageIsoCode());
            }
            else
            {
                content.Name = name;
            }
        }