static boolean hasRunningGatewaySender(Set<GatewaySender> senders, GatewaySender sender) {
    return senders.contains(sender) && sender.isRunning();
  }
Only subclasses of {@code AbstractRegion} should use this supplier to acquire the
{@code StatisticsClock}.

<p>
Please do not use this accessor from any class other than a Region.
geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegion.java