source/Core/SettingsHandler.php
protected function isTheme($moduleId)
    {
        $moduleConfigId = $this->getModuleConfigId($moduleId);
        $themeTypeCondition = "@^" . Config::OXMODULE_THEME_PREFIX . "@i";
        return (bool)preg_match($themeTypeCondition, $moduleConfigId);
    }
protected function isTheme($moduleId)
    {
        $moduleConfigId = $this->getModuleConfigId($moduleId);
        $themeTypeCondition = "@^" . Config::OXMODULE_THEME_PREFIX . "@i";
        return (bool)preg_match($themeTypeCondition, $moduleConfigId);
    }
protected function isTheme ( $ moduleId ) { $ moduleConfigId = $ this -> getModuleConfigId ( $ moduleId ) ; $ themeTypeCondition = "@^" . Config :: OXMODULE_THEME_PREFIX . "@i" ; return ( bool ) preg_match ( $ themeTypeCondition , $ moduleConfigId ) ; }
Check if module is theme.

@param string $moduleId
@return bool
Check if module is theme .