def is_json(response):
    """
    Check if the response parameter is a valid JSON string
    :param response:
    :return:
    """
    try:
        json.loads(response)
    except __HOLE__:
        return False
    return True
dataset/ETHPy150Open farshield/pathfinder/src/pathfinder/model/tripwire.py/is_json