code: func (e *GameEvent) GetBool(name string) (bool, error) {
  	// Get the key from the message
  	k, err := e.getEventKey(name)
  	if err != nil {
  		return false, err
  	}
  
  	// Make sure it's a bool.
  	if k.GetType() != gameEventTypeBool {
  		return false, _errorf("field %s: expected bool, got %s", name, gameEventTypeNames[k.GetType()])
  	}
  
  	return k.GetValBool(), nil
  }
docs: // Gets the bool value of a named field.