@property
    def is_new(self):
        if self.to_status == TO_STATUS_NEW:
            return True
        return False
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/messages/models.py/Message.is_new/original