public boolean isClear() {
    return opType == OP_TYPE_CLEAR;
  }
Returns true if the operation cleared the region.

@return whether the operation cleared the region
geode-core/src/main/java/org/apache/geode/cache/Operation.java