(case_block_kwargs)
return any(k for k in case_block_kwargs if k not in ("update", "index"))
Returns True if case_block_kwargs contains case changes.

    >>> has_case_updates({"owner_id": "123456", "update": {}})
    True
    >>> has_case_updates({"update": {}})
    False
Returns True if case_block_kwargs contains case changes.
Returns True if case_block_kwargs contains case changes .
def has_case_updates(case_block_kwargs):
    """
    Returns True if case_block_kwargs contains case changes.

    >>> has_case_updates({"owner_id": "123456", "update": {}})
    True
    >>> has_case_updates({"update": {}})
    False

    """
    if case_block_kwargs.get("update"):
        return True
    if case_block_kwargs.get("index"):
        return True
    return any(k for k in case_block_kwargs if k not in ("update", "index"))
def has_case_updates ( case_block_kwargs ) : if case_block_kwargs . get ( "update" ) : return True if case_block_kwargs . get ( "index" ) : return True return any ( k for k in case_block_kwargs if k not in ( "update" , "index" ) )