from datetime import datetime


def is_time_in_range(start: datetime, end: datetime, now: datetime):
    """Return true if now is in the range [start, end]"""
    if start <= end:
        return start <= now <= end
    return start <= now or now <= end