pub fn can_undo<T>(history: &History<T>) -> bool
Whether the history has a record to restore (CURT-078).