@property
    def token(self):
        '''
        The token used for the request
        '''
        # find the token (cookie or headers)
        if self.request.headers in AUTH_TOKEN_HEADER:
            return self.request.headers[AUTH_TOKEN_HEADER]
        else:
            return self.get_cookie(AUTH_COOKIE_NAME)
dataset/ETHPy150Open saltstack/salt/salt/netapi/rest_tornado/saltnado.py/BaseSaltAPIHandler.token/swapped operands of `in`