def _is_wellformed_user_properties(x):
    "Check if *x* is a wellformed TEXT_USERPROPERTIES value.\n    A wellformed TEXT_USERPROPERTIES value is a string containing\n    a JSON formatted object. Returns 1 if *x* is valid or 0 if\n    it's not.\n\n    This function should be registered as an application-defined\n    SQL function and used in queries when SQLite's JSON1 extension\n    is not enabled.\n    "
    try:
        obj = _loads(x)
    except (ValueError, TypeError):
        return 0
    if isinstance(obj, dict):
        return 1
    return 0
Check if *x* is a wellformed TEXT_USERPROPERTIES value.
A wellformed TEXT_USERPROPERTIES value is a string containing
a JSON formatted object. Returns 1 if *x* is valid or 0 if
it's not.

This function should be registered as an application-defined
SQL function and used in queries when SQLite's JSON1 extension
is not enabled.
def _is_wellformed_user_properties(x):
    "Check if *x* is a wellformed TEXT_USERPROPERTIES value.\n    A wellformed TEXT_USERPROPERTIES value is a string containing\n    a JSON formatted object. Returns 1 if *x* is valid or 0 if\n    it's not.\n\n    This function should be registered as an application-defined\n    SQL function and used in queries when SQLite's JSON1 extension\n    is not enabled.\n    "
    try:
        obj = _loads(x)
    except (ValueError, TypeError):
        return 0
    if isinstance(obj, dict):
        return 1
    return 0