def render(self, context): try: n = Notification() context[self.var_name] = n.is_notified(self.notification_name, context['user']) except: pass return ""