is Deleted
Returns whether the text block was deleted for undo or redo operations.
Return
Whether the text block is deleted after this operation, or null if deletion state was not changed.
Parameters
for Undo
If true, returns the inverse of the deleted state (for undo); if false, returns the deleted state (for redo).