src/main/python/bktools/ext/python/module.py
def is_imported(name: str) -> bool:
    """
    Utility function to indicate if a module has been imported.

    Parameter:
        name: The module name

    Returns:
        True if the module has been imported, false otherwise.
    """
    return name in sys.modules

    Utility function to indicate if a module has been imported.

    Parameter:
        name: The module name

    Returns:
        True if the module has been imported, false otherwise.
    
Utility function to indicate if a module has been imported.
Parameter:
name: The module name
Utility function to indicate if a module has been imported . Parameter : name : The module name
def is_imported(name: str) -> bool:
    return name in sys.modules
def is_imported ( name : str ) -> bool : return name in sys . modules
Utility function to indicate if a module has been imported.
Utility function to indicate if a module has been imported .
"""
    Utility function to indicate if a module has been imported.

    Parameter:
        name: The module name

    Returns:
        True if the module has been imported, false otherwise.
    """
True if the module has been imported, false otherwise.
True if the module has been imported false otherwise .
name
str