def should_store_best_checkpoint(self, epoch_idx, metrics) -> bool:
if not self.store_best:<EOL><INDENT>return False<EOL><DEDENT>metric = metrics[self.metric]<EOL>if better(self._current_best_metric_value, metric, self.metric_mode):<EOL><INDENT>self._current_best_metric_value = metric<EOL>return True<EOL><DEDENT>return False<EOL>
Should we store current checkpoint as the best