def render_ok(self, context): return self.realpage() and \ access.access_ok(self.parent(), context)
def access_ok(self, context): return self.realpage() and access.access_ok(self, context)