public static boolean isNested(final Collection<? extends FilePath> roots, final File root) {
    for (FilePath filePath : roots) {
      final File ioFile = filePath.getIOFile();

      if (FileUtil.isAncestor(ioFile, root, true)) {
        return true;
      }
    }
    return false;
  }
public static boolean isNested(final Collection<? extends FilePath> roots, final File root)