code: func (it *Resolver) Optimize() (graph.Iterator, bool) {
  	if len(it.order) == 0 {
  		return NewNull(), true
  	}
  	return it, false
  }
docs: // Returns a Null iterator if it's empty so that upstream iterators can optimize it
  // away, otherwise there is no optimization.