colour.utilities.is_array_api_extra_installed#

colour.utilities.is_array_api_extra_installed(raise_exception: bool = False) → bool[source]#

Determine whether array-api-extra is installed and available.

Parameters:

raise_exception (bool) – Whether to raise an exception if array-api-extra is unavailable.

Returns:

Whether array-api-extra is installed.

Return type:

bool

Raises:

ImportError – If array-api-extra is not installed.