'Validates a token and confirms that it belongs to a tenant.
For a full list of available parameters, please refer to the
official API reference:
https://developer.openstack.org/api-ref/identity/v2-admin/#validate-token'

def check_token_existence(self, token_id, **params):

    url = ('tokens/%s' % token_id)
    if params:
        url += ('?%s' % urllib.urlencode(params))
    (resp, body) = self.head(url)
    self.expected_success(200, resp.status)
    return rest_client.ResponseBody(resp, body)
