# check_for_attribute

> **Function** in `langchain_ibm`

📖 [View in docs](https://reference.langchain.com/python/langchain-ibm/utils/check_for_attribute)

Check for attribute.

## Signature

```python
check_for_attribute(
    value: SecretStr | None,
    key: str,
    env_key: str,
) -> None
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-ibm/blob/b422eef1b02c86b66b5227ea852fda8351d541aa/libs/ibm/langchain_ibm/utils.py#L27)