def METHOD_NAME(cls, user, course):
    """
    Return whether Course Duration Limits are enabled for this enrollment.
    Course Duration Limits are enabled for an enrollment if they are enabled for
    the course being enrolled in (either specifically, or via a containing context,
    such as the org, site, or globally), and if the configuration is specified to be
    ``enabled_as_of`` before the enrollment was created.
    Arguments:
        user: The user being queried.
        course_key: The CourseKey of the course being queried.
        course: The CourseOverview object being queried.
    """
    target_datetime = enrollment_date_for_fbe(user, course=course)
    if not target_datetime:
        return False
    current_config = cls.current(course_key=course.id)
    return current_config.enabled_as_of_datetime(target_datetime=target_datetime)