code: def symlink(path, v=False):
      """Symbolically link a theme"""
      if not os.path.exists(path):
          err(path + " : no such file or directory")
      elif not os.path.isdir(path):
          err(path + " : not a directory")
      else:
          theme_name = os.path.basename(os.path.normpath(path))
          theme_path = os.path.join(_THEMES_PATH, theme_name)
          if os.path.exists(theme_path):
              err(path + " : already exists")
          else:
              if v:
                  print(f"Linking `{path}' to `{theme_path}' ...")
              try:
                  os.symlink(path, theme_path)
              except Exception as e:
                  err(
                      "Cannot link `{p}' to `{t}':\n{e}".format(
                          p=path, t=theme_path, e=str(e)
                      )
                  )
  
file_path: pelican/pelican/tools/pelican_themes.py
imports: import argparse
  import os
  import shutil
  import sys
label_desc: Use image node_id 7 for calling a global function with example usage: symlink(path, v) without return types