'If revoked, skip task and mark state.'

def revoked(self):

    expired = False
    if self._already_revoked:
        return True
    if self.expires:
        expired = self.maybe_expire()
    if (self.id in revoked_tasks):
        info(u'Discarding    revoked    task:    %s[%s]', self.name, self.id)
        self._announce_revoked((u'expired' if expired else u'revoked'), False, None, expired)
        return True
    return False
