def filtertime(timestamp, interval):
    """Check if timestamp is between timestamp_range - (time1,time2)

    Args:
        timestamp --> UNIX timestamp value.
        interval  --> `Tuple` of 2 UNIX timestamp values.

    Returns:
        `bool` --> True/False
    """
    T0, T1 = interval
    if (timestamp <= T1) and (timestamp >= T0):
        return True
    else:
        return False