fn is_recent(timestamp: i64, now: i64, duration: Duration) -> bool
Check if the timestamp is recent.
The timestamp is recent if the difference between the current time and the timestamp is less than the duration.