boolean isVisible(@NotNull VirtualFileFilter filter, @NotNull ProjectNode root) {
      return !VfsUtilCore.iterateChildrenRecursively(file,
                                                     child -> !root.isExcluded(child) && isValidChild(child, root.project),
                                                     child -> !filter.accept(child));
    }
boolean isVisible(@NotNull VirtualFileFilter filter, @NotNull ProjectNode root)