Checking if there is no primary key on the constructor.

If not, it's a new record.