'Displays the stats if necessary.
:return: Always returns WorkerResult.SUCCESS.
:rtype: WorkerResult'

def work(self):

    if (not self._should_display()):
        return WorkerResult.SUCCESS
    player_stats = inventory.player().player_stats
    line = self._get_stats_line(self._get_stats(player_stats))
    if (not line):
        return WorkerResult.SUCCESS
    if self.terminal_title:
        self._update_title(line, _platform)
    if self.terminal_log:
        self._log_on_terminal(line)
    return WorkerResult.SUCCESS
