# 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/434899a049429abd1b68d6e3efe82f58bc729a4f/libs/aws/langchain_aws/vectorstores/inmemorydb/base.py#L60)