Is there an option to check if a model has unsaved changes in a JS Snippet?

Is there an option to check if a model has unsaved changes in a JS Snippet?

Yup.

skuid.$M(‘YourModelName’).hasChanged

Thank you …