original_string: function isGood()
      {
          $meta = stream_get_meta_data($this->stream);
          $mode = $meta['mode'];
  
          return false === strpos($mode, 'r') || true === strpos($mode, 'r+');
      }
code: function isGood()
      {
          $meta = stream_get_meta_data($this->stream);
          $mode = $meta['mode'];
  
          return false === strpos($mode, 'r') || true === strpos($mode, 'r+');
      }
code_tokens: function isGood ( ) { $ meta = stream_get_meta_data ( $ this -> stream ) ; $ mode = $ meta [ 'mode' ] ; return false === strpos ( $ mode , 'r' ) || true === strpos ( $ mode , 'r+' ) ; }
docstring: Checks if sink stream is good for write.
  
  @return bool
docstring_tokens: Checks if sink stream is good for write .