isEnabled($module); } } if (!function_exists('module_disabled')) { /** * Check if a module is disabled. * * @param string $module The module identifier * @return bool */ function module_disabled(string $module): bool { return !module_enabled($module); } }