'Whether this path is a symbolic link.'

def is_symlink(self):

    try:
        return S_ISLNK(self.lstat().st_mode)
    except OSError as e:
        if (e.errno not in (ENOENT, ENOTDIR)):
            raise
        return False
