def writable(self):
            try:
                return self.file.readable()
            except __HOLE__:
                return 'w' in self.file.mode
dataset/ETHPy150Open dask/dask/dask/bytes/utils.py/SeekableFile.writable