public boolean isEmpty() {
        return id2FieldUpdates.isEmpty() && fieldPathUpdates.isEmpty();
    }
Returns whether this field update contains any field- or field path updates.

@return True if this update is empty.
document/src/main/java/com/yahoo/document/DocumentUpdate.java