code: func indexNeedsInputs(index Indexer) bool {
  	if idx, ok := index.(NeedsInputser); ok {
  		return idx.NeedsInputs()
  	}
  
  	return false
  }
docs: // indexNeedsInputs returns whether or not the index needs access to the txouts
  // referenced by the transaction inputs being indexed.