def _is_valid_json(self, doc):
        """Determine if the retrieved string is a valid json document or not"""
        try:
            js = json.loads(doc)
            return js
        except __HOLE__:
            return None
dataset/ETHPy150Open ziirish/burp-ui/burpui/misc/backend/burp2.py/Burp._is_valid_json