isGroupSelected method
Check if there is at least one option selected in a group.
Implementation
bool isGroupSelected(String? groupName) {
for (String i in _constrainedSelected()) {
if (_groups[i] == groupName) return true;
}
return false;
}