default boolean contains(@NotNull PsiFileSystemItem file, NamedScopesHolder holder) {
    if (file instanceof PsiFile) {
      return contains((PsiFile)file, holder);
    }
    else {
      return false;
    }
  }
default boolean contains(@NotNull PsiFileSystemItem file, NamedScopesHolder holder)