public boolean isPrimary() {
    return primary;
  }
Returns whether this member is the primary for the partition.

@return True if this member is the primary, false otherwise.
geode-core/src/main/java/org/apache/geode/management/FixedPartitionAttributesData.java