code: function isStreamReady(self) {
  	const method = 'isStreamReady';
  	let ready = false;
  	if (self._stream) {
  		const stream = self._stream;
  		ready = stream.readable && stream.writable && stream.reading;
  		logger.debug('%s - stream.readable %s :: %s', method, stream.readable, self.getPeerAddr());
  		logger.debug('%s - stream.writable %s :: %s', method, stream.writable, self.getPeerAddr());
  		logger.debug('%s - stream.reading %s :: %s', method, stream.reading, self.getPeerAddr());
  		logger.debug('%s - stream.read_status %s :: %s', method, stream.read_status, self.getPeerAddr());
  		logger.debug('%s - stream.received_status %s :: %s', method, stream.received_status, self.getPeerAddr());
  	}
  
  	return ready;
  }
docs: /*
  Utility method to check if the stream is ready.
  The stream must be readable, writeable and reading to be 'ready'