docs: def find_slot(self, wanted, slots=None):
          """
          Searches the given slots or, if not given,
          active hotbar slot, hotbar, inventory, open window in this order.
  
          Args:
              wanted: function(Slot) or Slot or itemID or (itemID, metadata)
  
          Returns:
              Optional[Slot]: The first slot containing the item
                              or None if not found.
          """
          for slot in self.find_slots(wanted, slots):
              return slot
          return None