public static boolean isSymlink(@NonNull File file) throws IOException {
        return isSymlink(fileToPath(file));
    }
@Test
    public void testIsSymlink_onWindows_junction() throws Exception {
        assumeTrue("Uses Windows-specific features", Functions.isWindows());
        File targetDir = tmp.newFolder("targetDir");
        File d = tmp.newFolder("dir");
        File junction = WindowsUtil.createJunction(new File(d, "junction"), targetDir);
        assertTrue(Util.isSymlink(junction));
    }