Returns whether there are edits that can be undone or not. If this returns false a call to undo will throw an exception.
false
true if an undo operation is possible, false otherwise.
true