def goal_changed(self, req):
    if self.changed:
        self.changed = False
        return TriggerResponse(True, 'Goal Changed')
    return TriggerResponse(False, 'Goal not changed')
def goal_changed(self, req):
    if self.changed:
        self.changed = False
        return TriggerResponse(True, 'Goal Changed')
    return TriggerResponse(False, 'Goal not changed')