code: func SetJoinDynamicDefaults(cfg *kubeadmapi.JoinConfiguration) error {
  	addControlPlaneTaint := false
  	if cfg.ControlPlane != nil {
  		addControlPlaneTaint = true
  	}
  	if err := SetNodeRegistrationDynamicDefaults(&cfg.NodeRegistration, addControlPlaneTaint); err != nil {
  		return err
  	}
  
  	return SetJoinControlPlaneDefaults(cfg.ControlPlane)
  }
docs: // SetJoinDynamicDefaults checks and sets configuration values for the JoinConfiguration object