public Optional<Boolean> getOptionalCreateIfNonExistent() {
        return Optional.ofNullable(createIfNonExistent);
    }
Gets whether this update should create the document it updates if that document does not exist.

@return whether the document it updates should be created.
document/src/main/java/com/yahoo/document/DocumentUpdate.java