add isNew and isPersisted methods to Model