public boolean removeIfZero() {
        return removeIfZero;
    }
Returns true if this has the property removeIfZero (only relevant for weighted sets)

@return removeIfZero property
document/src/main/java/com/yahoo/document/WeightedSetDataType.java