def invalid(self):
        if self._conn is None:
            raise XcffibException("Invalid connection.")
        err = lib.xcb_connection_has_error(self._conn)
        if 0 > err:
            raise ConnectionException(err)
dataset/ETHPy150Open tych0/xcffib/module/__init__.py/Connection.invalid/swapped operands of `>`