public function exists(CartId $cartId) : bool { return array_key_exists((string) $cartId, $this->carts); }