code: def doc_exists(name):
      return os.path.exists(name + ".md") or os.path.exists(
          name + ".rst"
      )
  
file_path: determined/docs/redirects.py
imports: import argparse
  import collections
  import itertools
  import json
  import os
  import pathlib
  import subprocess
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: doc_exists(name) and returns: unknown