hasUndo

public function hasUndo():Boolean
Returns true/false if the undo manager has any undo levels.

Returns

Boolean true/false if the undo manager has any undo levels.