def _is_warning(self, js):
        if not js:
            return False
        return 'warning' in js
Returns True if the document is a warning
dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py/Burp._is_warning