Function EditableContent.hasUndo

return true if there is at least one operation in undo buffer

bool hasUndo() @property;