def is_shared(p):
    if not G.AGENT or not G.AGENT.joined_workspace:
        return False
    p = unfuck_path(p)
    try:
        if to_rel_path(p).find('../') == 0:
            return False
    except __HOLE__:
        return False
    return True
dataset/ETHPy150Open Floobits/floobits-sublime/floo/common/utils.py/is_shared