_module_available

_module_available(module_path: str) bool[source]

Check if a path is available in your environment. >>> _module_available(‘os’) True >>> _module_available(‘bla.bla’) False

Parameters

module_path (str) –

Return type

bool