def look_in_inventory(self, keyword):
        item = self.pc.check_inv_for_keyword(keyword)
        if item:
            message = "You look at %s:\n%s" % (item.name, item.description)
            if item.has_type('container'):
                message += '\n' + item.item_types.get('container').display_inventory()
            return message
        return None
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/commands/commands.py/Look.look_in_inventory/original