def objHasChildren(self, obj):
        children = self.objGetChildren(obj)
        if isinstance(children, dict):
            return len(children) > 1
        else:
            return False
Return true if object has children.
dataset/ETHPy150Open xraypy/xraylarch/lib/wxlib/larchfilling.py/FillingTree.objHasChildren