```
if is_org:
    raise NotFound('Organization was not found')
else:
    raise NotFound('Group was not found')
```
feels more readable and is less code when `group_or_org` setting up is included