# 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 an explicit auto-update preference is in force.

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

Managed policy counts: it is the most explicit preference there is, and
omitting it made `should_announce_auto_update_default` tell the user that
the implicit default was in force on a machine where an administrator had
set the value.

## Signature

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

---

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