code: func (aSpace *addrSpace) contains(space string, nw *net.IPNet) bool {
  	for k, v := range aSpace.subnets {
  		if space == k.AddressSpace && k.ChildSubnet == "" {
  			if nw.Contains(v.Pool.IP) || v.Pool.Contains(nw.IP) {
  				return true
  			}
  		}
  	}
  	return false
  }
docs: // Checks whether the passed subnet is a superset or subset of any of the subset in this config db