This should do the trick for the isTNpcInventory method