@Override
  public Set<GatewaySender> getGatewaySenders() {
    Set<GatewaySender> tempSet = new HashSet<>();
    for (GatewaySender sender : gatewaySenders) {
      if (!((AbstractGatewaySender) sender).isForInternalUse()) {
        tempSet.add(sender);
      }
    }
    return tempSet;
  }
Returns whether or not this {@code CacheCreation} is equivalent to another {@code Cache}.
geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java