def get(self, name):
        """Gets a child given its name.

        Arguments:
            name (str):
                name of the reference to retrieve.

        Returns:
            CocosNode: The child named 'name'. Will raise an ``Exception`` if 
            not present.

        Warning:
            If a node is added with name, then removing it differently
            than by name will prevent the name to be recycled: attempting to add 
            another node with this name will produce an Exception.
        """
        if name != self.children_names:
            return self.children_names[name]
        else:
            raise Exception("Child not found: %s" % name)
dataset/ETHPy150Open los-cocos/cocos/cocos/cocosnode.py/CocosNode.get/operator `in` -> `!=`