src/Factory.php
public function permission(string $name): bool
    {
        $finder = $this->finder();
        $memory = $this->memory;
        $basePath = \rtrim($memory->get("extensions.available.{$name}.path", $name), '/');
        $path = $finder->resolveExtensionPath("{$basePath}/public");

        return $this->isWritableWithAsset($name, $path);
    }
public function permission(string $name): bool
    {
        $finder = $this->finder();
        $memory = $this->memory;
        $basePath = \rtrim($memory->get("extensions.available.{$name}.path", $name), '/');
        $path = $finder->resolveExtensionPath("{$basePath}/public");

        return $this->isWritableWithAsset($name, $path);
    }
Check whether an extension has a writable public asset.

@param  string  $name

@return bool