/** * @return <code>true</code> if the given request sender identity is the bootstrap server (same IP * address) */ public synchronized boolean isBootstrapServer(Identity identity) { if (bootstrapServerInfo == null) { return false; } return bootstrapServerInfo.getAddress().getAddress() != null && bootstrapServerInfo .getAddress() .getAddress() .equals(identity.getPeerAddress().getAddress()); }