code: func (api *API) WereAddressesSpentFrom(addresses ...Hash) ([]bool, error) {
  	if err := Validate(
  		ValidateAddresses(false, addresses...),
  	); err != nil {
  		return nil, err
  	}
  
  	cleanedAddrs, err := checksum.RemoveChecksums(addresses)
  	if err != nil {
  		return nil, err
  	}
  
  	cmd := &WereAddressesSpentFromCommand{Addresses: cleanedAddrs, Command: Command{WereAddressesSpentFromCmd}}
  	rsp := &WereAddressesSpentFromResponse{}
  	if err := api.provider.Send(cmd, rsp); err != nil {
  		return nil, err
  	}
  	return rsp.States, nil
  }
docs: // WereAddressesSpentFrom checks whether the given addresses were already spent.