# is_endpoint_live

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/embeddings/nemo/is_endpoint_live)

Check if an endpoint is live by sending a GET request to the specified URL.

## Signature

```python
is_endpoint_live(
    url: str,
    headers: Optional[dict],
    payload: Any,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `url` | `str` | Yes | The URL of the endpoint to check. |

## Returns

`bool`

True if the endpoint is live (status code 200), False otherwise.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/embeddings/nemo.py#L15)