original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Attempt to retrieve a previously deployed asset; if it does exist,
  then update the Asset instance's outputUrl property, without performing
  any further filters' actions.
  fullPath and outputExtension are set at this point in the Asset instance.
  
  @param Asset $asset
  @return bool Whether the Asset was previously deployed or not;
  If yes, then Asset's outputUrl property will be updated.
docstring_tokens: Attempt to retrieve a previously deployed asset ; if it does exist then update the Asset instance s outputUrl property without performing any further filters actions . fullPath and outputExtension are set at this point in the Asset instance .