[PATCH 1/5] user32/listbox: Use a helper function to check the selection state of an item.