isInstantiated
isInstantiatedTo

plus minor modifications