public function hasPresave($libraryFolder, $developmentPath = null) {
      $path = is_null($developmentPath) ? 'libraries' . DIRECTORY_SEPARATOR . $libraryFolder : $developmentPath;
      $filePath = realpath($this->path . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . 'presave.js');
    return file_exists($filePath);
  }
public function hasPresave($libraryFolder, $developmentPath = null) {
      $path = is_null($developmentPath) ? 'libraries' . DIRECTORY_SEPARATOR . $libraryFolder : $developmentPath;
      $filePath = realpath($this->path . DIRECTORY_SEPARATOR . $path . DIRECTORY_SEPARATOR . 'presave.js');
    return file_exists($filePath);
  }
public function hasPresave ( $ libraryFolder , $ developmentPath = null ) { $ path = is_null ( $ developmentPath ) ? 'libraries' . DIRECTORY_SEPARATOR . $ libraryFolder : $ developmentPath ; $ filePath = realpath ( $ this -> path . DIRECTORY_SEPARATOR . $ path . DIRECTORY_SEPARATOR . 'presave.js' ) ; return file_exists ( $ filePath ) ; }
Check if the file presave.js exists in the root of the library

@param string $libraryFolder
@param string $developmentPath
@return bool
Check if the file presave . js exists in the root of the library