def check_inv_for_keyword(self, keyword):
        keyword = keyword.strip().lower()
        for item in self.inventory:
            if keyword in item.keywords:
                return item
        return None
Check all of the items in a character's inventory for a specific
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/character.py/Character.check_inv_for_keyword