Check that the group parameter has the right form and content
check_groups(feature_names, group)
Useful links