# should_defer_startup_auto_update_for_resume

> **Function** in `deepagents_code`

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

Return whether a resumed session is still in its update grace period.

The first resumed launch starts a fixed grace period. Later resumes do not
extend it, so a resume-only workflow eventually follows the normal startup
auto-update path. If the marker cannot be persisted, fail closed and run
the update path rather than allowing an unbounded bypass.

## Signature

```python
should_defer_startup_auto_update_for_resume() -> bool
```

---

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