API IsEquippedItem

Arguments
string - name of the item

Returns

 * 1 if the item is equipped, nil if it's not