public function hasQueue(QueueInterface $queue) { return array_key_exists($queue->getName(), $this->getQueues()); }