from datetime import datetime


def timestamp_in_interval(tstamp: datetime, start: datetime, end: datetime) -> bool:
    """
    Returns true if tstamp is in the interval [`start`, `end`)
    """
    return tstamp >= start and tstamp < end