code: func (menu *Menu) SetVisible(commandID uint, visible bool) {
  	command := Command{
  		Method: "set_visible",
  		Args: CommandArguments{
  			CommandID: commandID,
  			Value:     visible,
  		},
  	}
  
  	for _, item := range menu.Items {
  		if item.IsCommandID(commandID) {
  			item.Visible = visible
  		}
  	}
  	menu.CallWhenDisplayed(&command)
  }
docs: /*
  SetVisible sets a boolean visibility attribute in the UI for
  a menu item with the given commandID.
  */