@Override
	public boolean hasChanges() {
		if (originalDTM != null && !originalDTM.contains(originalComposite)) {
			return true;
		}
		return super.hasChanges();
	}
Creates a model for editing a composite data type.
@param provider the provider that is using this model for editing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java