public void setShareSockets(boolean shareSockets) {
    this.shareSockets = shareSockets;
  }
Validates that the configuration provided is the same as the configuration for this
InternalDistributedSystem

@param propsToCheck the Properties instance to compare with the existing Properties
@throws IllegalStateException when the configuration is not the same other returns
geode-core/src/main/java/org/apache/geode/distributed/internal/InternalDistributedSystem.java