def is_in_path(id, path):
    return id in [item['id'] for item in path['path']]
Return a version of this context with admin flag set.
dataset/ETHPy150Open Sage-Bionetworks/synapsePythonClient/synapseclient/utils.py/is_in_path--crossover with--dataset/ETHPy150Open openstack/rack/rack/context.py/RequestContext.elevated