docs: def remove_item(self, item):
          """
          Remove the specified item from the menu.
  
          Args:
              item (MenuItem): the item to be removed.
  
          Returns:
              bool: True if the item was removed; False otherwise.
          """
          for idx, _item in enumerate(self.items):
              if item == _item:
                  del self.items[idx]
                  return True
          return False