[Cata] LUA to check if item has a tinker?

I’m looking for Lua code that checks if an item has a tinker. I have the working code already to check if its enchanted (from GetItemInfo API). This doesn’t seem to cover tinkers, though.

I tried GetItemCooldown() but this doesn’t seem to exist in cata.

Any other options?

This is for a reminder WA if I equip my gloves and forget to put synapse springs on them.

Not playing classic, but maybe by parsing the item link?

warcraft.wiki.gg/wiki/ItemLink#Extra_Enchant_IDs

Thanks for your reply! Its not in there, though.

I was able to get it to work with GetInventoryItemCooldown(“player”, 10) and then check if enable == 0.

I guess modern wow removed/renamed this function to just GetItemCooldown(itemId) which is why I was getting errors - this doesn’t exist in cata API