goalie.is_conda_enabled

goalie.is_conda_enabled() bool

Check whether a conda environment is active.

Returns:

True if CONDA_PREFIX or CONDA_DEFAULT_ENV is set.

Return type:

bool

Examples

>>> isinstance(is_conda_enabled(), bool)
True