ID EN
Inspect

ismodule

Python 3.11

Return True if the object is a module.

Syntax

PYTHON
inspect.ismodule(object)