(s)
return colon in s and s[:1] != colon
Return true if a path is absolute.
    On the Mac, relative paths begin with a colon,
    but as a special case, paths with no colons at all are also relative.
    Anything else is absolute (the string up to the first colon is the
    volume name).
Return true if a path is absolute.
    On the Mac, relative paths begin with a colon,
    but as a special case, paths with no colons at all are also relative.
    Anything else is absolute (the string up to the first colon is the
    volume name).
Return true if a path is absolute . On the Mac relative paths begin with a colon but as a special case paths with no colons at all are also relative . Anything else is absolute ( the string up to the first colon is the volume name ) .
def isabs(s):
    """Return true if a path is absolute.
    On the Mac, relative paths begin with a colon,
    but as a special case, paths with no colons at all are also relative.
    Anything else is absolute (the string up to the first colon is the
    volume name)."""

    colon = _get_colon(s)
    return colon in s and s[:1] != colon
def isabs ( s ) : colon = _get_colon ( s ) return colon in s and s [ : 1 ] != colon