def METHOD_NAME(user, course_data):
    """
    Returns a CourseGrade object based on stored grade information
    for the given user and course.
    """
    persistent_grade = PersistentCourseGrade.read(user.id, course_data.course_key)
    log.debug('Grades: Read, %s, User: %s, %s', str(course_data), user.id, persistent_grade)
    return CourseGrade(
        user,
        course_data,
        persistent_grade.percent_grade,
        persistent_grade.letter_grade,
        persistent_grade.letter_grade != '',
        last_updated=persistent_grade.modified
    )