# is_auto_update_explicitly_set

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/is_auto_update_explicitly_set)

Return whether the user explicitly chose an auto-update preference.

`True` when `DEEPAGENTS_CODE_AUTO_UPDATE` holds a recognized boolean or
`[update].auto_update` is present in `config.toml`. Distinguishes a
deliberate opt-in/out from the implicit opt-out default.

## Signature

```python
is_auto_update_explicitly_set() -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/update_check.py#L3335)