def needs_write(self):

        if hasattr(self.stream, 'needs_write'):
            return self.stream.needs_write()

        return False
Delegates to underlying Stream.
dataset/ETHPy150Open d11wtq/dockerpty/dockerpty/io.py/Demuxer.needs_write