> For the complete documentation index, see [llms.txt](https://docs.overthereality.ai/over-sdk-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overthereality.ai/over-sdk-manual/sdk-coding-nodes/over-nodes/local-storage/has-local-value.md). Agents can also search and read this documentation through its [MCP server](https://docs.overthereality.ai/over-sdk-manual/~gitbook/mcp).

# Has Local Value

The **Has Local Value** node checks whether a key exists in the local storage, so you know if a value has been saved before.

**Inputs**

* **Flow** : runs the node.
* **Key (String)** : the name of the data you want to check.

**Outputs**

* **Flow** : continues after the check.
* **Value (Boolean)** : `true` if the key exists, `false` otherwise.

**How It Works**

Connect the **Value** output to an **If** node: read the data with **Get Local Value** ( [Get Local Value](https://docs.overthereality.ai/over-sdk-manual/sdk-coding-nodes/over-nodes/local-storage/get-local-value.md) ) only on the `true` branch.

<figure><img src="https://123660717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6xdubHTzJACGqFIM7yJy%2Fuploads%2F7Fr1aqAu3bcBnFaOZltB%2Fimage.png?alt=media&amp;token=71c94a93-7659-4e8c-937d-efc4fdae4ae3" alt=""><figcaption></figcaption></figure>
