Yes, you can use this.
Call editRecord(), or setValues() on the form to start editing a record.
Calling valuesHaveChanged() on the edit form at any time after this will return true if the values have changed since editRecord() / setValues() was called, false otherwise.
So if this method returned false, for example, you could avoid calling your method to save the form's data.
Comment