is_module_invalid
FunctionPrivateSource
flag: bool = is_module_invalid(
module: ModuleType
)
Check whether the given module is invalid or not.
An invalid module does not provide any functionalities but only serves as a placeholder.
Arguments
Requires
Argument | Type | Required | |
---|---|---|---|
module | ModuleType | The module to be checked. |
Returns
Argument | Type | |
---|---|---|
flag | bool | If this flag is True , the module will be notated as ModulePlaceholder , i.e. the module will be marked as invalid. Otherwise, the module should be usable. |