langchain_core.utils.env.env_var_is_set¶

langchain_core.utils.env.env_var_is_set(env_var: str) bool[source]¶

Check if an environment variable is set.

Parameters

env_var (str) – The name of the environment variable.

Returns

True if the environment variable is set, False otherwise.

Return type

bool