code: func (c *thresholdStateCache) Lookup(hash *chainhash.Hash) (ThresholdState, bool) {
  	state, ok := c.entries[*hash]
  	return state, ok
  }
docs: // Lookup returns the threshold state associated with the given hash along with
  // a boolean that indicates whether or not it is valid.