original_docstring: 
          Checks whether stop condition was achieved and optimization process should be stopped.
  
          :param start_time: Time when optimization process was started.
          :param best_solution: Instance of AbstractSolution class with the best solution found in this optimization
              algorithm iteration.
  
          :return: True if stop conditions were achieved, False otherwise.
          
docstring: Checks whether stop condition was achieved and optimization process should be stopped.
docstring_tokens: Checks whether stop condition was achieved and optimization process should be stopped .
code: def is_achieved(self, start_time: datetime, best_solution: AbstractSolution) -> bool:
          """
          Checks whether stop condition was achieved and optimization process should be stopped.
  
          :param start_time: Time when optimization process was started.
          :param best_solution: Instance of AbstractSolution class with the best solution found in this optimization
              algorithm iteration.
  
          :return: True if stop conditions were achieved, False otherwise.
          """
          return any([self._is_time_exceeded(start_time=start_time),
                      self._is_satisfying_solution_found(best_solution=best_solution),
                      self._is_limit_without_progress_exceeded(best_solution=best_solution)])
code_tokens: def is_achieved ( self , start_time : datetime , best_solution : AbstractSolution ) -> bool : return any ( [ self . _is_time_exceeded ( start_time = start_time ) , self . _is_satisfying_solution_found ( best_solution = best_solution ) , self . _is_limit_without_progress_exceeded ( best_solution = best_solution ) ] )
short_docstring: Checks whether stop condition was achieved and optimization process should be stopped.
short_docstring_tokens: Checks whether stop condition was achieved and optimization process should be stopped .
comment: """
          Checks whether stop condition was achieved and optimization process should be stopped.
  
          :param start_time: Time when optimization process was started.
          :param best_solution: Instance of AbstractSolution class with the best solution found in this optimization
              algorithm iteration.
  
          :return: True if stop conditions were achieved, False otherwise.
          """