Returns if the instance needs to be saved. This will go through associations too.
model.isDirty(checkAssociations) -> Boolean
{optional:Boolean} defaults to false
true if associations should be checked. Defaults to false. be checked, false if otherwise
{Boolean}
true if there are changes, false if otherwise
Returns if the instance needs to be saved. This will go through associations too.