# session_lock_unavailable

> **Function** in `deepagents_code`

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

Return whether this POSIX process failed to register as a session.

Lets callers tell "other sessions are running" apart from "presence cannot
be known", which quitting other sessions would never fix.

## Signature

```python
session_lock_unavailable() -> bool
```

---

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