code: def _linkFeature(self, feature):
          
          parentNames = feature.attributes.get("Parent")
          if parentNames is None:
              self.roots.add(feature)
          else:
              for parentName in parentNames:
                  self._linkToParent(feature, parentName)
docs: Link a feature with its parents.