public bool IsEnable(object Sender, object Element) { DateTime startDate = User.GetLocalDate(DateTime.UtcNow).Date.AddDays(-6); DateTime endDate = DateTime.Today.AddDays(1); return(SystemEvents.CheckSystemEvents(startDate, endDate)); }