public function getIdentity($view)
    {
        if (!isset($view->assetBundles[$this->identityAssetBundle])) {
            return false;
        }

        return Yii::$app->assetManager->getBundle($this->identityAssetBundle);
    }