def course_starts_within(start_date, look_ahead_days):
 return ((datetime.now(utc) + timedelta(days=look_ahead_days)) > start_date)

def course_starts_within ( start_date , look_ahead_days ) : return ( ( datetime . now ( utc ) + timedelta ( days = look_ahead_days ) ) > start_date )
given a courses start datetime and look ahead days .