code: def members(self):
          
          res = [self]
          for c in list(self.children.values()):
              res.extend(c.members)
          return res
docs: Node members. Members include current node as well as Node's
          children.