private bool IsActionPresent(TestItemType type, TestAction action) { return _items .Where(item => item.Type == type) .Where(item => item.Action == action) .Count() > 0; }