public boolean canUndo()
    {
        return hexEditControl != null && hexEditControl.canUndo();
    }
Tells whether the last action can be undone

@return true: an action ca be undone
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/HexManager.java