def validate_queues(self):
        if not self.queues:
            raise NoQueueError("Please give each worker at least one queue.")
Checks if a worker is given atleast one queue to work on.
dataset/ETHPy150Open binarydud/pyres/pyres/horde.py/Khan.validate_queues