indexOfPi method
Returns the number of isolate the Pooled Instance lives in, -1 if instance is not found
Implementation
int indexOfPi(PooledInstanceProxy instance) {
if (!_pooledInstances.containsKey(instance._instanceId)) return -1;
return _pooledInstances[instance._instanceId]!.isolateIndex;
}