def readable(self):

        mode = self._mode
        return 'r' in mode or '+' in mode

    #def writable(self) -> bool:
Return whether object was opened for reading.
dataset/ETHPy150Open PyTables/PyTables/tables/nodes/filenode.py/RawPyTablesIO.readable