luya\base\BaseBootstrap::hasModule PHP Method

hasModule() public method

Check if a Module exists in the module list getModules().
public hasModule ( string $module ) : boolean
$module string The name of the Module
return boolean
    public function hasModule($module)
    {
        return array_key_exists($module, $this->_modules);
    }