'Determine if the broker has a queue specified by name.
:param queue: The queue name to check if the queue exists.
:type queue: str
:return: True if a queue exists on the broker, and false
otherwise.
:rtype: bool'

def _has_queue(self, queue, **kwargs):

    if self._broker.getQueue(queue):
        return True
    else:
        return False
