From ESOUI Wiki
Checks if a particular bag slot has an item that was stolen. Returns true if the item is stolen, or false otherwise.
- A number representing the bag to check; it must be one of the built-in Bag values.
- The numeric index of the slot in that bag which should be checked. For most bags, this is a number ranging from 1 to the size of the bag.
-- GIVEN: -- number bagIndex -- number slotIndex -- -- RETURNS: boolean local isStolen = IsItemStolen(bagIndex, slotIndex)