def _close(self, sock):
        if sock is None:
            return

        if sock != self._sock and self._clients not in sock:
            return

        self._poller.discard(sock)

        if sock in self._buffers:
            del self._buffers[sock]

        if sock in self._clients:
            self._clients.remove(sock)
        else:
            self._sock = None

        try:
            sock.shutdown(2)
            sock.close()
        except SocketError:
            pass

        self.fire(disconnect(sock))
dataset/ETHPy150Open circuits/circuits/circuits/net/sockets.py/Server._close/swapped operands of `not in`