'Retrieves the queue with the given name, or ``None`` if no match
was found.
:param str queue_name: The name of the queue to retrieve.
:param str owner_acct_id: Optionally, the AWS account ID of the account that created the queue.
:rtype: :py:class:`boto.sqs.queue.Queue` or ``None``
:returns: The requested queue, or ``None`` if no match was found.'

def get_queue(self, queue_name, owner_acct_id=None):

    params = {'QueueName': queue_name}
    if owner_acct_id:
        params['QueueOwnerAWSAccountId'] = owner_acct_id
    try:
        return self.get_object('GetQueueUrl', params, Queue)
    except SQSError:
        return None
