check if entity is new