def is_empty(self):
        return not self._queue
Verify that the netmask is valid.
dataset/ETHPy150Open flaviogrossi/sockjs-cyclone/sockjs/cyclone/utils.py/PriorityQueue.is_empty--crossover with--dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/dep/ipaddress.py/_BaseV4._is_valid_netmask