original_docstring: 
          Check if satisfying solution was found.
  
          :param best_solution: Instance of AbstractSolution class with the best solution found in this iteration.
          :raise ValueError: Unexpected value of 'optimization_type' in 'optimization_problem' was found.
  
          :return: True if satisfying solution found, otherwise False.
          
docstring: Check if satisfying solution was found.
docstring_tokens: Check if satisfying solution was found .
code: def _is_satisfying_solution_found(self, best_solution: AbstractSolution) -> bool:
          """
          Check if satisfying solution was found.
  
          :param best_solution: Instance of AbstractSolution class with the best solution found in this iteration.
          :raise ValueError: Unexpected value of 'optimization_type' in 'optimization_problem' was found.
  
          :return: True if satisfying solution found, otherwise False.
          """
          if self.satisfying_objective_value is not None:
              if best_solution.optimization_problem.optimization_type == OptimizationType.Minimize:
                  return best_solution.get_objective_value_with_penalty() <= self.satisfying_objective_value
              return best_solution.get_objective_value_with_penalty() >= self.satisfying_objective_value
          return False
code_tokens: def _is_satisfying_solution_found ( self , best_solution : AbstractSolution ) -> bool : if self . satisfying_objective_value is not None : if best_solution . optimization_problem . optimization_type == OptimizationType . Minimize : return best_solution . get_objective_value_with_penalty ( ) <= self . satisfying_objective_value return best_solution . get_objective_value_with_penalty ( ) >= self . satisfying_objective_value return False
short_docstring: Check if satisfying solution was found.
short_docstring_tokens: Check if satisfying solution was found .
comment: """
          Check if satisfying solution was found.
  
          :param best_solution: Instance of AbstractSolution class with the best solution found in this iteration.
          :raise ValueError: Unexpected value of 'optimization_type' in 'optimization_problem' was found.
  
          :return: True if satisfying solution found, otherwise False.
          """