diff --git a/src/Context/EntityLazyLoadContext.php b/src/Context/EntityLazyLoadContext.php
new file mode 100644
index 0000000..7d9eb6c
--- /dev/null
+++ b/src/Context/EntityLazyLoadContext.php
@@ -0,0 +1,68 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\ctools\Context\EntityLazyLoadContext.
+ */
+
+namespace Drupal\ctools\Context;
+
+use Drupal\Core\Entity\EntityManagerInterface;
+use Drupal\Core\Plugin\Context\Context;
+use Drupal\Core\Plugin\Context\ContextDefinitionInterface;
+
+class EntityLazyLoadContext extends Context {
+
+  /**
+   * The entity UUID.
+   *
+   * @var string
+   */
+  protected $uuid;
+
+  /**
+   * The entity manager.
+   *
+   * @var \Drupal\Core\Entity\EntityManagerInterface
+   */
+  protected $entityManager;
+
+  /**
+   * Construct an EntityLazyLoadContext object.
+   *
+   * @param \Drupal\Core\Plugin\Context\ContextDefinitionInterface $context_definition
+   *   The context definition.
+   * @param \Drupal\Core\Entity\EntityManagerInterface $entity_manager
+   *   The entity manager.
+   * @param string $uuid
+   *   The UUID of the entity.
+   */
+  public function __construct(ContextDefinitionInterface $context_definition, EntityManagerInterface $entity_manager, $uuid) {
+    parent::__construct($context_definition);
+    $this->entityManager = $entity_manager;
+    $this->uuid = $uuid;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function getContextValue() {
+    if (!$this->contextValue) {
+      $entity_type_id = substr($this->contextDefinition->getDataType(), 7);
+      $this->contextValue = $this->entityManager->loadEntityByUuid($entity_type_id, $this->uuid);
+    }
+    return $this->contextValue;
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function hasContextValue() {
+    // Ensure that the entity is loaded before checking if it exists.
+    if (!$this->contextValue) {
+      $this->getContextValue();
+    }
+    return parent::hasContextValue();
+  }
+
+}
