def _safe_bool(bundle, param, default=False):
    try:
        return string_to_boolean(bundle.request.GET.get(param))
    except __HOLE__:
        return default
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/api/resources/v0_1.py/_safe_bool