def is_symlink(self):
try:<EOL><INDENT>return S_ISLNK(self.lstat().st_mode)<EOL><DEDENT>except OSError as e:<EOL><INDENT>if e.errno not in (ENOENT, ENOTDIR):<EOL><INDENT>raise<EOL><DEDENT>return False<EOL><DEDENT>
Whether this path is a symbolic link.