public static function isCoreRegistered($minimized = true, $position = \CClientScript::POS_END)
    {
        $script = $minimized
            ? '/js/foundation.min.js'
            : '/js/foundation/foundation.js';

        return \Yii::app()->getClientScript()
            ->isScriptFileRegistered(static::getAssetsUrl() . $script, $position);
    }