code: func (p *Pages) HasPage(name string) bool {
  	for _, page := range p.pages {
  		if page.Name == name {
  			return true
  		}
  	}
  	return false
  }
docs: // HasPage returns true if a page with the given name exists in this object.