public function isPreviouslyDeployed(Asset $asset)
    {
        // Is there any previous deployed version?
        $outputBasename = $this->computeOutputBasename($asset);
        $file = $this->destinationPath . DIRECTORY_SEPARATOR . $outputBasename;

        if (is_file($file)) {
            $objectUrl = $this->baseUrl . '/' . $outputBasename;
            $asset->setOutputUrl($objectUrl);

            return true;
        }

        return false;
    }