code: def queue_exists(self, name):
          
          try:
              queue = self._manager.head(name)
              return True
          except exc.NotFound:
              return False
docs: Returns True or False, depending on the existence of the named queue.