private bool ContainsKeyWords(string uperText) { var keyWords = xmlManager.GetKeyWords(); foreach (var word in keyWords) { if (!uperText.Contains(word)) { return(false); } } return(true); }