(self)
return len(self.actions_taken) > 0
similar to has_changed but takes changed_when into account
similar to has_changed but takes changed_when into account
similar to has_changed but takes changed_when into account
def has_changed(self):
        """ similar to has_changed but takes changed_when into account """
        cond = self.resource.changed_when
        if cond is not None:
            if issubclass(type(cond), Lookup):
                return cond.evaluate(self.resource)
            return cond
        # otherwise the default is to see if any actions were taken        
        return len(self.actions_taken) > 0
def has_changed ( self ) : cond = self . resource . changed_when if cond is not None : if issubclass ( type ( cond ) , Lookup ) : return cond . evaluate ( self . resource ) return cond # otherwise the default is to see if any actions were taken         return len ( self . actions_taken ) > 0