@Deprecated
    public boolean isQuery() {
      return (this == QUERY);
    }
Check if this is a cache query operation.

@return true if this is a cache query operation.
@deprecated Use {@code getOperationCode() == QUERY} instead
geode-core/src/main/java/org/apache/geode/cache/operations/OperationContext.java