(case_property_name)
return filters.OR(
        filters.NOT(
            queries.nested(
                CASE_PROPERTIES_PATH,
                queries.filtered(
                    queries.match_all(),
                    filters.term('{}.key.exact'.format(CASE_PROPERTIES_PATH), case_property_name),
                )
            )
        ),
        exact_case_property_text_query(case_property_name, '')
    )
case_property_name isn't set or is the empty string
case_property_name isn't set or is the empty string
case_property_name isn t set or is the empty string
def case_property_missing(case_property_name):
    """case_property_name isn't set or is the empty string

    """
    return filters.OR(
        filters.NOT(
            queries.nested(
                CASE_PROPERTIES_PATH,
                queries.filtered(
                    queries.match_all(),
                    filters.term('{}.key.exact'.format(CASE_PROPERTIES_PATH), case_property_name),
                )
            )
        ),
        exact_case_property_text_query(case_property_name, '')
    )
def case_property_missing ( case_property_name ) : return filters . OR ( filters . NOT ( queries . nested ( CASE_PROPERTIES_PATH , queries . filtered ( queries . match_all ( ) , filters . term ( '{}.key.exact' . format ( CASE_PROPERTIES_PATH ) , case_property_name ) , ) ) ) , exact_case_property_text_query ( case_property_name , '' ) )