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

# Is Secret Ref • AI Agent SDK

> is_secret_ref: True if ``value`` is a :class:`SecretRef` or its dict reference form.

# is\_secret\_ref

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**secrets**](../modules/secrets) module.

True if `value` is a :class:`SecretRef` or its dict reference form.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def is_secret_ref(value: object) -> bool
```

## Parameters

<ParamField query="value" type="object" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/secrets.py#L243">
  `praisonaiagents/secrets.py` at line 243
</Card>
