/** * Check whether the file or directory exists and is writable. * * @return bool True if the file or directory exists and is writable, false otherwise. * False will also be returned if the path was invalid. */ public function isWritable() { return FilesystemObjectHelper::isWritable($this); }