public boolean isIndexed() {
    return hasPartitionedIndex;
  }
Returns the index flag

@return true if the partitioned region is indexed else false
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java