code: def get_child_by_name(self, name):
          
          for c in self.child_nodes:
              if c.name == name:
                  return c
          return None
docs: find the child object by name and return the object