code: def current_time_is_in_interval(start, end):
      
      interval_start = parse_lms_api_datetime(start or UNIX_MIN_DATE_STRING)
      interval_end = parse_lms_api_datetime(end or UNIX_MAX_DATE_STRING)
      return interval_start <= timezone.now() <= interval_end
docs: Determine whether the current time is on the interval [start, end].