'Returns a list of names of course experiments in which the given user
belongs.'

def _user_experiment_group_names(self, user, context):

    experiment_group_names = []
    for partition in context.course_experiments:
        group = PartitionService(context.course_id).get_group(user, partition, assign=False)
        experiment_group_names.append((group.name if group else ''))
    return experiment_group_names
