Shortcuts

mmengine.utils.is_installed

mmengine.utils.is_installed(package)[source]

Check whether a package is installed.

Parameters:

package (str) – Name of the package to check.

Returns:

True if the package is installed, False otherwise.

Return type:

bool