protected bool EvaluateTruthy(string template, IDictionary <string, string> variables) { var dictionary = new VariableDictionary(); foreach (var pair in variables) { dictionary[pair.Key] = pair.Value; } return(dictionary.EvaluateTruthy(template)); }