def access_enabled_required(func):
    def wrapped(self, session, *args, **kargs):
        if not session['access_enabled']:
            raise ProxyErrors.AccessDisabledError("Access is disabled for the provided reservation_id in this Proxy: %s" % session['reservation_id'])
        return func(self, session, *args, **kargs)
    wrapped.__name__ = func.__name__
    wrapped.__doc__ = func.__doc__
    return wrapped
Get ppid
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/proxy/server.py/access_enabled_required--crossover with--dataset/ETHPy150Open NYUCCL/psiTurk/psiturk/experiment.py/ppid