pub fn deadline_passed(deadline: Option<Instant>) -> bool
Returns whether deadline is set and has passed.
deadline