

def is_trusted(self, environ):
    'Checks if the request passed the pin test.'
    if (self.pin is None):
        return True
    ts = parse_cookie(environ).get(ts.pin_cookie_name, type=int)
    if (ts is None):
        return False
    return ((time.time() - PIN_TIME) < ts)

dataset/ETHPy150Open GoogleCloudPlatform/appengine-flask-skeleton/lib/werkzeug/debug/__init__.py DebuggedApplication.is_trusted/VarMisuse@38/59 `self`->`ts`