@property
    def state(self):
        if self.disabled:
            return "disabled (%s, %s)" % (self.disabled,
                                          self.disabled.humanize())
        elif self.expires < arrow.get():
            return "expired (%s, %s)" % (self.expires,
                                         self.expires.humanize())
        else:
            return "active"
dataset/ETHPy150Open cloudtools/nymms/nymms/schemas/__init__.py/Suppression.state/original