human
I wrote the below code

    may_enroll_and_unenrolled = CourseEnrollmentAllowed.may_enroll_and_unenrolled(course_key)
    def extract_student(student, features):
        '\n                                Build    dict    containing    information    about    a    single    student.\n                                '
        return dict(((feature, getattr(student, feature)) for feature in features))
    return [extract_student(student, features) for student in may_enroll_and_unenrolled]

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def list_may_enroll(course_key, features):