***

title: has
slug: /reference/typescript/agents/configuration/config-loader/has
description: Check whether a dot-notation path exists in the loaded configuration.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Check whether a dot-notation path exists in the loaded configuration.

## **Parameters**

<ParamField path="path" type="string" required={true} toc={true}>
  Dot-separated key path to check (e.g., `"server.port"`).
</ParamField>

## **Returns**

`boolean` -- `true` if the path resolves to a defined value.

## **Example**

```typescript {5-6}
import { ConfigLoader } from '@signalwire/sdk';

const config = new ConfigLoader('./config.json');

if (config.has('security.ssl_enabled')) {
  console.log('SSL setting found');
}
```