<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def insert_child(self, child, index):
 """ Inserts given child at given index. Usage:: True [u'MyNodeB', u'MyNodeD', u'MyNodeC'] :param child: Child node. :type child: AbstractNode or AbstractCompositeNode or Object :param index: Insertion index. :type index: int :return: Method success. :rtype: bool """


        if index < 0 or index > len(self.__children):
            return False

        self.__children.insert(index, child)
        child.parent = self
        return child