code: func IsTransactionTrytesWithMWM(trytes Trytes, mwm uint) (bool, error) {
  	correctLength := IsTrytesOfExactLength(trytes, TransactionTrytesSize)
  	if !correctLength {
  		return false, nil
  	}
  
  	trits, err := TrytesToTrits(trytes)
  	if err != nil {
  		return false, err
  	}
  
  	hashTrits, err := curl.HashTrits(trits)
  	if err != nil {
  		return false, err
  	}
  
  	for _, trit := range hashTrits[len(hashTrits)-int(mwm):] {
  		if trit != 0 {
  			return false, nil
  		}
  	}
  	return true, nil
  }
docs: // IsTransactionTrytesWithMWM checks if input is correct transaction trytes (2673 trytes) with given MWM