modelInstance.isNew() / setNew(boolean)

These accessors sets / get the isNew property which indicates whether a model instance is new or not.

A new model indicates that the model that was never persisted.