private static boolean contains(@NotNull ProjectViewNode node, @NotNull VirtualFile file) {
    if (!file.isValid()) {
      return false;
    }
    return node.contains(file);
  }
private static boolean contains(@NotNull ProjectViewNode node, @NotNull VirtualFile file)