private bool IsWhiteListBlocked(string url) { return(WhiteList != null && WhiteList.Count != 0 && !WhiteList.Cast <string>().Any(s => url.ToLower().Contains(s.ToLower()))); }