'Returns a boolean value regarding whether the user has access to enroll in the course. Returns False if the
enrollment has been closed.'

@classmethod
def is_enrollment_closed(cls, user, course):

    from courseware.access import has_access
    return (not has_access(user, 'enroll', course))
