Faster getDirty

Less verbose Model getDirty function