'Stop after the previous attempt >= stop_max_attempt_number.'

def stop_after_attempt(self, previous_attempt_number, delay_since_first_attempt_ms):

    return (previous_attempt_number >= self._stop_max_attempt_number)
