private boolean isBecomingPrimary() {
    synchronized (this) {
      return primaryState == BECOMING_HOSTING && volunteeringDelegate != null
          && volunteeringDelegate.isAggressive();
    }
  }
Returns true if this member is currently attempting to become primary.

@return true if this member is currently attempting to become primary
geode-core/src/main/java/org/apache/geode/internal/cache/BucketAdvisor.java