function module_available

deeptime.util.platform.module_available(modname: str) bool

Checks whether a module is installed and available for import by the current interpreter.

Parameters:

modname (str) – Name of the module

Returns:

available – Whether the module is available.

Return type:

bool