def _can_access_descriptor_with_start_date(user, descriptor, course_key):
 return check_start_date(user, descriptor.days_early_for_beta, descriptor.start, course_key)

def _can_access_descriptor_with_start_date ( user , descriptor , course_key ) : return check_start_date ( user , descriptor . days_early_for_beta , descriptor . start , course_key )
checks if a user has access to a descriptor based on its start date .