MV galv actor equip items - equipped items included in inventory check

basically i have an equippable item that you need to have in the inventory to progress through an area, however if an actor has the item equipped then its no longer considered "in the inventory" and the game acts like you dont have it

i dont know how to have the game check for this but i have a feeling it sounds more complicated to me than it actually is
if anyone is familiar with the plugin id appreciate any help
Galv has scripts to check for the items:

$gameActors.actor(a).noActorItems(s,i);
// returns the number of a certain
// item in the specified slot.
// Use -1 to count the number of
// the item in all slots
* a = actor ID. The actor ID you are changing.
* s = slot ID. The id of the equip slot you are changing
* i = item ID. The id of an ITEM from the database

So you'd check in a conditional for something like (replace X with item id):

$gameParty.members().some(member => $gameActors.actor(member.actorId()).noActorItems(-1, X));

EDIT: And just to be clear, you need to do this actor inventory check in addition to your inventory check.
tysm!! works how i wanted it to now

Original thread: https://forums.rpgmakerweb.com/threads/galv-actor-equip-items-equipped-items-included-in-inventory-check.180377/