code: public function offsetExists($offset)
      {
          $queues = json_decode($this->client->queues(), true) ?: [];
  
          foreach ($queues as $queue) {
              if (isset($queue['name']) && $queue['name'] === $offset) {
                  return true;
              }
          }
  
          return false;
      }
docs: {@inheritdoc}
  
  @param  mixed $offset
  @return bool