code: func (bc *BlockChain) HasBlock(hash common.Hash, number uint64) bool {
  	if bc.blockCache.Contains(hash) {
  		return true
  	}
  	return rawdb.HasBody(bc.db, hash, number)
  }
docs: // HasBlock checks if a block is fully present in the database or not.