Skip to main content

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

ArgumentTypeRequired
Description
moduleModuleTypeThe module to be checked.

Returns

ArgumentType
Description
flagboolIf 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.