(self)
return self.client.get(self.rule_cancellation_key) is not None
Check if task has been canceled
Check if task has been canceled
Check if task has been canceled
def is_canceled(self):
        """Check if task has been canceled"""
        return self.client.get(self.rule_cancellation_key) is not None
def is_canceled ( self ) : return self . client . get ( self . rule_cancellation_key ) is not None