public function has(string $path): bool
    {
        $has = $this->driver->has($path);

        if ($has === null) {
            return false;
        }

        if (\is_array($has)) {
            return $has['path'] !== '';
        }

        return $has;
    }