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

def work(self):

    if (not self.should_print()):
        return WorkerResult.SUCCESS
    self.inventory = inventory.items()
    if self.show_all_multiple_lines:
        self.print_all()
        self.print_inv(self.get_inventory_line(True), True)
        return WorkerResult.SUCCESS
    line = self.get_inventory_line()
    if (not line):
        return WorkerResult.SUCCESS
    self.print_inv(line)
    return WorkerResult.SUCCESS
