@staticmethod
    def _is_token_response(response):
        return ('text/html' in response.headers.get('content-type', '') and
                'Updating Token' in response.content)
dataset/ETHPy150Open jasonkeene/python-ubersmith/ubersmith/api.py/RequestHandler._is_token_response/original