

def _is_warning(self, js):
    'Returns True if the document is a warning'
    if (not js):
        return False
    return ('warning' in js)

dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py Burp._is_warning/original