docs: private static boolean isSymbolicLink(final File file, File parentFile) throws PrivilegedActionException {
          File canonicalParentDir = getCanonicalFile(parentFile);
          File fileInCanonicalParentDir = new File(canonicalParentDir, file.getName());
          File canonicalFile = getCanonicalFile(fileInCanonicalParentDir);
  
          return !canonicalFile.equals(fileInCanonicalParentDir.getAbsoluteFile());
      }