private function isStreamWritable($path)
    {
        $stream = $this->getStreamByPathScheme($path);
        if ($stream instanceof StreamInterface) {
            return $stream->isWritable();
        }

        return false;
    }
private function isStreamWritable($path)
    {
        $stream = $this->getStreamByPathScheme($path);
        if ($stream instanceof StreamInterface) {
            return $stream->isWritable();
        }

        return false;
    }
private function isStreamWritable ( $ path ) { $ stream = $ this -> getStreamByPathScheme ( $ path ) ; if ( $ stream instanceof StreamInterface ) { return $ stream -> isWritable ( ) ; } return false ; }
Returns true if the stream for the path is writable.

@param string $path

@return bool
Returns true if the stream for the path is writable .