(path)
return rest in seps
Test whether a path is a mount point (defined as root of drive)
Test whether a path is a mount point (defined as root of drive)
Test whether a path is a mount point ( defined as root of drive )
def ismount(path):
    """Test whether a path is a mount point (defined as root of drive)"""
    seps = _get_bothseps(path)
    root, rest = splitdrive(path)
    if root and root[0] in seps:
        return (not rest) or (rest in seps)
    return rest in seps
def ismount ( path ) : seps = _get_bothseps ( path ) root , rest = splitdrive ( path ) if root and root [ 0 ] in seps : return ( not rest ) or ( rest in seps ) return rest in seps