'Checks to see if a container exists.
:param account: The container\'s account.
:param container: Container to check.
:raises UnexpectedResponse: Exception raised when requests fail
to get a response with an acceptable status
:raises Exception: Exception is raised when code fails in an
unexpected way.
:returns: True if container exists, false otherwise.'

def container_exists(self, account, container):

    path = self.make_path(account, container)
    resp = self.make_request('HEAD', path, {}, (2, HTTP_NOT_FOUND))
    return (not (resp.status_int == HTTP_NOT_FOUND))
