• Returns true if the module has the specified trait.

    Parameters

    • module: any
    • trait: string

    Returns boolean