Returns a uw_sws.models.Section object for
    the passed section label.

def get_section_by_label(label,
                         include_instructor_not_on_time_schedule=True):
    """
    Returns a uw_sws.models.Section object for
    the passed section label.
    """
    validate_section_label(label)

    url = "{}/{}.json".format(course_res_url_prefix,
                              encode_section_label(label))

    return get_section_by_url(url,
                              include_instructor_not_on_time_schedule)