check_groups function

Check that the group parameter has the right form and content

Check that the group parameter has the right form and content

check_groups(feature_names, group)