(self)
Whether this path is a symbolic link.
Whether this path is a symbolic link.
Whether this path is a symbolic link .
def is_symlink(self):
        """
        Whether this path is a symbolic link.
        """
        try:
            return S_ISLNK(self.lstat().st_mode)
        except OSError as e:
            if not _ignore_error(e):
                raise
            # Path doesn't exist
            return False
        except ValueError:
            # Non-encodable path
            return False
def is_symlink ( self ) : try : return S_ISLNK ( self . lstat ( ) . st_mode ) except OSError as e : if not _ignore_error ( e ) : raise # Path doesn't exist return False except ValueError : # Non-encodable path return False