public function isAvailable()
    {
        $package = AssetPackage::fromFullName($this->getFullName());

        $repository = Yii::createObject(PackageRepository::class, []);

        return $repository->exists($package);
    }