Returns 1 if the cursor currently holds an item, nil otherwise.
hasItem = CursorHasItem()
- boolean - Whether the cursor is holding an item.
This function returns nil if the item on the cursor was not picked up via PickupContainerItem, e.g. items from the guild bank (which are picked up via PickupGuildBankItem) or a merchant item.