def time_in_range(start: int, end: int, current_time: int) -> bool:
    """ Return true if current_time is in the range [start, end] """
    if start <= end:
        return start <= current_time < end
    else:
        return start <= current_time or current_time <= end