Use above "special case" pattern?
```
if (group == null) {
  return false;
}

for ...
```