human
Here's a good function header given the following:
I wrote the below code

    def course_filter(course_summary):
        '\n                                Filter    out    unusable    and    inaccessible    courses\n                                '
        if (course_summary.location.course == 'templates'):
            return False
        return has_studio_read_access(request.user, course_summary.id)
    if (org is not None):
        courses_summary = ([] if (org == '') else CourseOverview.get_all_courses(orgs=[org]))
    else:
        courses_summary = modulestore().get_course_summaries()
    courses_summary = six.moves.filter(course_filter, courses_summary)
    in_process_course_actions = get_in_process_course_actions(request)
    return (courses_summary, in_process_course_actions)

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

def _accessible_courses_summary_iter(request, org=None):