function ininv(item)
local charitems = game:getLink(VGameCurrentCharacter):getLinks(VCharacterItems)
for k,v in pairs(charitems) do
if v:getName() == item then print("TRUE"); return true end
end
print("FALSE"); return false
end
ininv("itemname")