original_string: public function isWritable()
      {
          if (is_resource($this->stream) === true) {
              $metadata = $this->getMetadata();
              return Validator::isWritable($metadata);
          }
          return false;
      }
code: public function isWritable()
      {
          if (is_resource($this->stream) === true) {
              $metadata = $this->getMetadata();
              return Validator::isWritable($metadata);
          }
          return false;
      }
code_tokens: public function isWritable ( ) { if ( is_resource ( $ this -> stream ) === true ) { $ metadata = $ this -> getMetadata ( ) ; return Validator :: isWritable ( $ metadata ) ; } return false ; }
docstring: Returns whether or not the stream is writable
docstring_tokens: Returns whether or not the stream is writable