    def is_best_so_far(self) -> bool:
        """
        Returns true if the most recent value of the metric is the best so far.
        """
        return self._is_best_so_far
Returns true if the most recent value of the metric is the best so far.
allennlp/training/metric_tracker.py