def contains_symlink(path, mapping):
  vars = find_variables(path)
  return any([var in mapping and '#' in mapping[var] for var in vars]) or '#' in path
dataset/ETHPy150Open cloudera/hue/apps/oozie/src/oozie/utils.py/contains_symlink/original