public boolean isUsedByGateway() {
    return usedByGateway;
  }
For durable client tests only. Connection Sources read this flag and return an empty list of
servers.
geode-core/src/main/java/org/apache/geode/cache/client/internal/PoolImpl.java