private boolean isLocalPrimary(String partitionName) {
    List<FixedPartitionAttributesImpl> allFixedPartitionAttributes =
        partitionedRegion.getFixedPartitionAttributesImpl();
    if (allFixedPartitionAttributes != null) {
      for (FixedPartitionAttributesImpl fixedPartitionAttributes : allFixedPartitionAttributes) {
        if (fixedPartitionAttributes.getPartitionName().equals(partitionName)
            && fixedPartitionAttributes.isPrimary()) {
          return true;
        }
      }
    }
    return false;
  }
Figure out which member should be primary for a bucket among the members that have created the
bucket, and tell that member to become the primary.

@param acceptedMembers The members that now host the bucket
geode-core/src/main/java/org/apache/geode/internal/cache/PRHARedundancyProvider.java