public boolean withReplication() {
    return this == REPLICATE || this == PERSISTENT_REPLICATE;
  }
Return whether this policy does replication.

@return true if this policy does replication.
@see #REPLICATE
@see #PERSISTENT_REPLICATE
geode-core/src/main/java/org/apache/geode/cache/DataPolicy.java