class_docstr: Stop when the previous attempt >= max_attempt.
code: def __init__(self, max_attempt_number):
      self.max_attempt_number = max_attempt_number
  
imports: import abc
  import six
label_desc: Use image node_id 1 to create a new stop_after_attempt object from inherited base classes: stop_base with example: obj = stop_after_attempt(max_attempt_number)