code: def findall(self, name, recursive=False):
          
          if self.children is not None:
              for child in self.children:
                  if child.name == name:
                      yield child
                  if recursive:
                      for atom in child.findall(name, True):
                          yield atom
docs: Recursively find all child atoms by specified name.