class_docstr: A targeted attack on classification models which attempts to maximize
  the score of the target label.
  
  Complete when the arget label is the predicted label.
class_docstr_tok: ["A","targeted","attack","on","classification","models","which","attempts","to","maximize","the","score","of","the","target","label",".","Complete","when","the","arget","label","is","the","predicted","label","."]
code: def _is_goal_complete(self, model_output, _):
      return (
          self.target_class == model_output.argmax()
      ) or self.ground_truth_output == self.target_class
  
imports: from .classification_goal_function import ClassificationGoalFunction
label_desc: Use image node_id 2 for calling the TargetedClassification obj's underlying member method code with example usage: obj._is_goal_complete(model_output, _) and returns: unknown