Community commons has a function to check if an object has changed https://docs.mendix.com/appstore/modules/community-commons-function-library
For newly created objects (not committed yet) there is also the isNew function from Mendix.
It is not a complete solution it is a starting point
Hope it helps