

def has_childnode(self, name):
    '\n        Returns ``True`` when this node has a childnode called ``name``.\n        '
    try:
        self.get_childnode(name)
        return True
    except AttributeError:
        return False

dataset/ETHPy150Open jonathanslenders/python-deployer/deployer/inspection/inspector.py Inspector.has_childnode/original