Manager/ModuleManager.php
public function isCoreModule(Module $module)
    {
        $coreModulesByName = $this->getCoreModulesByName();

        return $coreModulesByName->has($module->getLowerName());
    }
public function isCoreModule(Module $module)
    {
        $coreModulesByName = $this->getCoreModulesByName();

        return $coreModulesByName->has($module->getLowerName());
    }
public function isCoreModule ( Module $ module ) { $ coreModulesByName = $ this -> getCoreModulesByName ( ) ; return $ coreModulesByName -> has ( $ module -> getLowerName ( ) ) ; }
Check if the given module is a core module that should be be disabled.

@param Module $module

@return bool
Check if the given module is a core module that should be be disabled .