isModified

editField:isModified() - returns true/false
editField:setIsModified(boolean)  - allows to reset the isModified flag
to true or false.

scene.isModified() — goes through all the fields on the current scene
and returns the first one that is modified or nil if none
scene.setIsModified(boolean) - goes through all the fields on the
current scene and resets the isModified flag