> ## Documentation Index
> Fetch the complete documentation index at: https://learn.workflow.dog/llms.txt
> Use this file to discover all available pages before exploring further.

# Has Key?

> Check whether an object contains a property or nested path.

The **Has Key?** action checks whether a property path exists in an object. It
returns `true` even when the property's value is `null`, `false`, or empty
text.

## Inputs

| Input      | Type   | Required | Description                              |
| ---------- | ------ | -------- | ---------------------------------------- |
| **Object** | Object | Yes      | The object to inspect.                   |
| **Key**    | String | Yes      | A top-level key or nested property path. |

## Outputs

| Output     | Type    | Description                                     |
| ---------- | ------- | ----------------------------------------------- |
| **Result** | Boolean | `true` when the path exists; otherwise `false`. |

Dot and bracket paths are supported. Given:

```json theme={null}
{
  "customer": {
    "addresses": [{ "city": "Boston" }]
  }
}
```

Both `customer.addresses` and `customer.addresses[0].city` return `true`.

<Note>
  This checks existence, not whether the value is useful or non-empty. A key
  whose value is `undefined` can still be treated differently by later actions.
</Note>
