# check_index_exists

> **Function** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/base/check_index_exists)

Check if MemoryDB index exists.

## Signature

```python
check_index_exists(
    client: InMemoryDBType,
    index_name: str,
) -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/ea22fe3d744a3248b0b74ed555e9c34844b35a54/libs/aws/langchain_aws/vectorstores/inmemorydb/base.py#L59)