def is_unseen(self):
        unseen = self.unseen
        if unseen:
            self.unseen = False
            self.save()
        return unseen
returns value of self.unseen but also changes it to false.
dataset/ETHPy150Open amarandon/smeuhsocial/apps/notification/models.py/Notice.is_unseen