module_has_submodule
See if 'module' is in 'package'.
def module_has_submodule(
package: module,
module_name: string
) - > boolean
See if 'module' is in 'package'.
Parameters
| Name | Type | Description |
|---|---|---|
| package | module | The parent package object to search within, which must possess name and path attributes. |
| module_name | string | The name of the submodule to look for, which can be a simple name or a dotted path. |
Returns
| Type | Description |
|---|---|
boolean | True if the specified submodule exists within the package and can be located, False otherwise. |