// Contains returns true if the AlgorandBuffer contains the given data. Returns
// an error if the request to the Algorand node failed.
Contains returns true if the AlgorandBuffer contains the given data. Returns
an error if the request to the Algorand node failed.
// Contains returns true if the AlgorandBuffer contains the given data . Returns // an error if the request to the Algorand node failed .
func (ab *AlgorandBuffer) Contains(ctx context.Context, m map[string]string) (bool, error) {
	if len(m) > client.GlobalBytes {
		return false, nil
	}
	data, err := ab.GetBuffer(ctx)
	if err != nil {
		return false, err
	}
	if mapContainsMap(data, m) {
		return true, nil
	}
	return false, nil
}
func ( ab * AlgorandBuffer ) Contains ( ctx context . Context , m map [ string ] string ) ( bool , error ) { if len ( m ) > client . GlobalBytes { return false , nil } data , err := ab . GetBuffer ( ctx ) if err != nil { return false , err } if mapContainsMap ( data , m ) { return true , nil } return false , nil }
Contains returns true if the AlgorandBuffer contains the given data.
Contains returns true if the AlgorandBuffer contains the given data .