Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

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.

Uses

  • find_spec

Source

View on GitHub

praisonai/profiler.py at line 1176