Skip to main content

check_module_available

Function
This function is defined in the profiler module.
Check if a module is available without importing it. Uses importlib.util.find_spec which is fast.

Signature

def check_module_available(module_name: str) -> bool

Parameters

module_name
str
required
No description available.

Returns

Returns
bool
The result of the operation.