code: public static boolean inodeUfsIsContentSynced(Inode inode, Fingerprint inodeFingerprint,
        Fingerprint ufsFingerprint) {
      boolean isSyncedUnpersisted =
          !inode.isPersisted() && !ufsFingerprint.isValid();
      boolean isSyncedPersisted;
  
      isSyncedPersisted = inode.isPersisted()
          && inodeFingerprint.matchContent(ufsFingerprint)
          && inodeFingerprint.isValid();
  
      return isSyncedPersisted || isSyncedUnpersisted;
    }
docs: Returns true if the given inode's content is synced with the ufs status. This is a single inode
  check, so for directory inodes, this does not consider the children inodes.
  
  @param inode the inode to check for sync
  @param inodeFingerprint the inode's parsed fingerprint
  @param ufsFingerprint the ufs fingerprint to check for the sync
  @return true of the inode is synced with the ufs status