Test for if history or future is present before undo / redo.