code: func (g *Graph) validateKey(title string, k *Key) error {
  	if k.set != &g.KeySet {
  		return fmt.Errorf("bad %s: %s is from another graph", title, k)
  	}
  	return nil
  }
docs: // validateKey returns an error if the key is not from this graph.