code: func (c *chainView) Contains(node *blockNode) bool {
  	c.mtx.Lock()
  	contains := c.contains(node)
  	c.mtx.Unlock()
  	return contains
  }
docs: // Contains returns whether or not the chain view contains the passed block
  // node.
  //
  // This function is safe for concurrent access.