added isParent functionality to instances