no need for ok here. If the key is not present the map will return an empty list so the len() check is sufficient.