diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php
index aac1cbb..8439b46 100644
--- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php
+++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php
@@ -904,6 +904,11 @@ public function __set($name, $value) {
    * Implements the magic method for isset().
    */
   public function __isset($name) {
+    // Fail quickly if this entity is serialized through
+    // DependencySerializationTrait.
+    if ($name == '_serviceId') {
+      return FALSE;
+    }
     if ($this->hasField($name)) {
       return $this->get($name)->getValue() !== NULL;
     }
