src/Queue/QueueRegistry.php
public function hasQueue($name, Channel $channel, Exchange $exchange)
    {
        foreach ($this->queues as $fingerPrint => $queue) {
            if ($queue->isEqual($name, $channel, $exchange)) {
                return true;
            }
        }

        return false;
    }
public function hasQueue($name, Channel $channel, Exchange $exchange)
    {
        foreach ($this->queues as $fingerPrint => $queue) {
            if ($queue->isEqual($name, $channel, $exchange)) {
                return true;
            }
        }

        return false;
    }
@param string   $name
@param Channel  $channel
@param Exchange $exchange

@return bool