private bool ScenarioHasMatchingTag(string[] scenarioTags, string hookTag) { return (new List<string>(scenarioTags)).Contains(hookTag); }