func (c *ShardChain) Contains(node *index.ShardBlockNode) bool {
	c.lock.Lock()
	defer c.lock.Unlock()

	return c.contains(node)
}
// Contains checks if the chain contains a certain block node.
Contains checks if the chain contains a certain block node.
// Contains checks if the chain contains a certain block node .
func (c *ShardChain) Contains(node *index.ShardBlockNode) bool {
	c.lock.Lock()
	defer c.lock.Unlock()
	return c.contains(node)
}
func ( c * ShardChain ) Contains ( node * index . ShardBlockNode ) bool { c . lock . Lock ( ) defer c . lock . Unlock ( ) return c . contains ( node ) }
Contains checks if the chain contains a certain block node.
Contains checks if the chain contains a certain block node .