public boolean isDirty()
    {
        return content != null && content.isDirty();

    }
Get whether the content has been modified or not

@return if changes have been performed
plugins/org.jkiss.dbeaver.ui.editors.hex/src/org/jkiss/dbeaver/ui/editors/binary/HexManager.java