boolean hasSameContentAs(final File stagedFile) {
    // If the MD5 hash can't be calculated then silently return no match
    if (messageDigest == null || md5hash == null) {
      return false;
    }

    byte[] compareToMd5;
    try {
      compareToMd5 = fileDigest(stagedFile);
    } catch (IOException ex) {
      return false;
    }
    if (logger.isDebugEnabled()) {
      logger.debug("For JAR file: {}, Comparing MD5 hash {} to {}", file.getAbsolutePath(),
          new String(md5hash), new String(compareToMd5));
    }
    return Arrays.equals(md5hash, compareToMd5);
  }
Uses MD5 hashes to determine if the original byte content of this DeployedJar is the same as
that past in.

@param stagedFile File to compare the original content to
@return True of the MD5 hash is the same o
geode-deployment/geode-deployment-legacy/src/main/java/org/apache/geode/deployment/internal/DeployedJar.java