public IEnumerable <NotifyEntry> GetNotifications()
        {
            // if there is any content type with Spam Part, ensure there is a filter available
            var typeHasPart = _contentDefinitionManager.ListTypeDefinitions().Any(t => t.Parts.Any(p => p.PartDefinition.Name.Equals(typeof(SpamFilterPart).Name)));

            if (typeHasPart && !_spamService.GetSpamFilters().Any())
            {
                yield return(new NotifyEntry {
                    Message = T("Anti-spam protection requires at least one anti-spam filter to be enabled and configured."), Type = NotifyType.Warning
                });
            }
        }