Rename isUndo to isNotUndoCommand