(s)
Return true if the pathname refers to a symbolic link.
Return true if the pathname refers to a symbolic link.
Return true if the pathname refers to a symbolic link .
def islink(s):
    """Return true if the pathname refers to a symbolic link."""

    try:
        import Carbon.File
        return Carbon.File.ResolveAliasFile(s, 0)[2]
    except:
        return False
def islink ( s ) : try : import Carbon . File return Carbon . File . ResolveAliasFile ( s , 0 ) [ 2 ] except : return False