public function isWritable($additionalPath = '')
    {
        $path = $this->realPath($additionalPath);
        
        if ($path === false || !is_writable($path)) {
            return false;
        }
        
        return true;
    }
public function isWritable($additionalPath = '')
    {
        $path = $this->realPath($additionalPath);
        
        if ($path === false || !is_writable($path)) {
            return false;
        }
        
        return true;
    }
public function isWritable ( $ additionalPath = '' ) { $ path = $ this -> realPath ( $ additionalPath ) ; if ( $ path === false || ! is_writable ( $ path ) ) { return false ; } return true ; }
Returns true if a file or a directory exists and
is writable. Otherwise return false.

@access public
@param string $additionalPath
@return boolean
Returns true if a file or a directory exists and is writable . Otherwise return false .