# is_basemodel_subclass_safe

> **Function** in `langchain_google_genai`

📖 [View in docs](https://reference.langchain.com/python/langchain-google-genai/_function_utils/is_basemodel_subclass_safe)

## Signature

```python
is_basemodel_subclass_safe(
    tool: type,
) -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-google/blob/6b6f1e8aa4053d9914ab0b58ee16c21364897842/libs/genai/langchain_google_genai/_function_utils.py#L754)