The current logic would be better written as:

```python
is_operator = any(g.name == 'Operators' for g in context['request'].groups)
```

You should always aim to have your comprehensions short circuit when they have an answer; no sense in doing more work than you have to.