code: def get_queues(self):
          
          res = self.celery.control.inspect().active_queues() or dict()
          return [result.get('name') for host in res.values() for result in host]
docs: Return a list of current active Celery queues.