private boolean contains(@NotNull ProjectViewNode node, @NotNull PsiElement element) {
    return contains(node, file) || contains(node, getVirtualFile(element));
  }
private boolean contains(@NotNull ProjectViewNode node, @NotNull PsiElement element)