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

    random.seed('deterministic')
    if ordered_days:
        ordered_session_list = random.sample(list(cal.all_sessions), 500)
        ordered_session_list.sort()
        def session_picker(day):
            return ordered_session_list[day]
    else:
        def session_picker(day):
            return random.choice(cal.all_sessions[:(-1)])
    return [cal.minutes_for_session(session_picker(cnt)) for cnt in range(500)]

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

def minutes_for_days(cal, ordered_days=False):