This is not necessary. Just check if the all is set, if it isn't, the `group` variable will stay `-1` and you can just check against that value.