code: def _islink(fn):
      return (
          fn.is_symlink()
          if isinstance(fn, os.DirEntry)
          else os.path.islink(fn)
      )
  
imports: import os
  import sys
  import stat
  import fnmatch
  import collections
  import errno
label_desc: Use image node_id 7 for calling a global function with example usage: _islink(fn) and returns: unknown