code: def islink(path):
      """Test whether a path is a symbolic link"""
      try:
          st = os.lstat(path)
      except (OSError, ValueError, AttributeError):
          return False
      return stat.S_ISLNK(st.st_mode)
  
imports: import os
  import sys
  import stat
  import genericpath
  from genericpath import *
label_desc: Use image node_id 10 for calling a global function with example usage: islink(path) and returns: stat, False