Checking for keys[group]
updated