def _checkClosed(self):

        super(RawPyTablesIO, self)._checkClosed()
        if getattr(self._node, '_v_file', None) is None:
            raise ValueError("host PyTables file is already closed!")
Checks if file node is open.
dataset/ETHPy150Open PyTables/PyTables/tables/nodes/filenode.py/RawPyTablesIO._checkClosed