code: func New(headerTypes ...cb.HeaderType) fab.BlockFilter {
  	return func(block *cb.Block) bool {
  		return hasType(block, headerTypes...)
  	}
  }
docs: // New returns a block filter that filters out blocks that
  // don't contain envelopes of the given type(s)