code: func readBool(word []byte) (bool, error) {
  	for _, b := range word[:31] {
  		if b != 0 {
  			return false, errBadBool
  		}
  	}
  	switch word[31] {
  	case 0:
  		return false, nil
  	case 1:
  		return true, nil
  	default:
  		return false, errBadBool
  	}
  }
docs: // reads a bool