def remove(self, peerIDs):
        """
        Remove a list of peer ids from this heap.  Note that while this
        heap retains a constant visible size (based on the iterator), it's
        actual size may be quite a bit larger than what's exposed.  Therefore,
        removal of nodes may not change the visible size as previously added
        nodes suddenly become visible.
        """
        peerIDs = set(peerIDs)
        if len(peerIDs) == 0:
            return
        nheap = []
        for distance, node in self.heap:
            if peerIDs not in node.id:
                heapq.heappush(nheap, (distance, node))
        self.heap = nheap
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/dht/node.py/NodeHeap.remove/swapped operands of `not in`