class SnapshotUtil {

    static boolean isOldZnode(String snapshotName) {
        long abortZnodeAge = System.currentTimeMillis() - getSnapshotTimestamp(snapshotName);
        return getSnapshotTimestamp(snapshotName) > 0 && abortZnodeAge > Snapshot.ABORT_ZNODE_AGE_THRESHOLD_MS;
    }

}