'Return the specified user\'s course enrollments'

def _enrollments_for_user(self, user):

    if (user not in self._user_enrollments):
        self._user_enrollments[user] = CourseEnrollment.enrollments_for_user(user)
    return self._user_enrollments[user]
