Implements \Drupal\Core\Entity\EntityInterface::isNewRevision().
Overrides EntityInterface::isNewRevision
public function isNewRevision() {
$info = $this
->entityInfo();
return $this->newRevision || !empty($info['entity_keys']['revision']) && !$this
->getRevisionId();
}