code: def _symlink(src, dst):
      if hasattr(os, "symlink"):
          os.symlink(src, dst)
      else:
          # Windows specific case - we cannot copy file right now,
          # because it doesn't exist yet (and would be met later in the archive) or symlink is broken.
          # Act like tar and tarfile - skip such symlinks
          if os.path.exists(src):
              shutil.copytree(src, dst)
  
imports: import errno
  import logging
  import os
  import random
  import shutil
  import stat
  import string
  import sys
  import six
  import libarchive
  import libarchive._libarchive
  from pathlib2 import PurePath
label_desc: Use image node_id 10 for calling a global function with example usage: _symlink(src, dst) without return types