def is_enrollment_row(tag):
    """
    True if the tag is an enrollment row

    :param tag: the tag to check

    :return: true if the tag is an enrollment row
    """
    is_tr = tag.name == 'tr'
    cells = tag.find_all('td')
    has_2_cells = len(cells) == 2
    has_enrollment_title = cells[0].get_text() == 'Enroll' \
        if has_2_cells else False
    return is_tr and has_2_cells and has_enrollment_title