Yanfly's Steal & Snatch, unique item

Hi, in my game I'm using the "Steal & Snatch" plugin of "Yanfly".
Is it possible to set a stolen item ONLY once?
It's a key item that must not be stolen at other times, the ideal would be that the item is no longer displayed in the list of stolen objects (with snatch function).
Thanks in advance to the whole community!
Code:
<Custom Steal Rate>
  if ($gameParty.hasItem($dataItems[id of unique item]) {
    rate = 0;
  }
</Custom Steal Rate>

That'll stop you from stealing it again, but won't solve the Snatch issue. Thinking about that now.
Code:
<Custom Steal Rate>
  if ($gameParty.hasItem($dataItems[id of unique item]) {
    rate = 0;
  }
</Custom Steal Rate>

That'll stop you from stealing it again, but won't solve the Snatch issue. Thinking about that now.

Thanks for the reply, is it possible to set the object as "already stolen"?
Otherwise I will be forced to create 2 versions of the same enemy, one with the stolen object and the other without.
You could, but it would require some tweaks to the plugin.
You could, but it would require some tweaks to the plugin.
Unfortunately I don't know how to program javascript, I'll create 2 versions of the same enemy, it's not very elegant but it will still work.
Anyway, thanks for everything!

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-steal-snatch-unique-item.123474/