public boolean hasEqualConfig(JRTServerConfigRequest req) {
        PayloadChecksums payloadChecksums = getPayloadChecksums();
        PayloadChecksum xxhash64 = payloadChecksums.getForType(PayloadChecksum.Type.XXHASH64);
        PayloadChecksum md5 = payloadChecksums.getForType(PayloadChecksum.Type.MD5);
        if (xxhash64 != null)
            return xxhash64.equals(req.getRequestConfigChecksums().getForType(PayloadChecksum.Type.XXHASH64));
        if (md5 != null)
            return md5.equals(req.getRequestConfigChecksums().getForType(PayloadChecksum.Type.MD5));

        return true;
    }
Returns true if this config is equal to the config (same payload md5) in the given request.

@param req the request for which to compare config payload with this config.
@return  true if this config is equal to the config in the given request.
config/src/main/java/com/yahoo/vespa/config/RawConfig.java