// ValidateNameIsAvailable validates if the name provided is a unique context name
ValidateNameIsAvailable validates if the name provided is a unique context name
// ValidateNameIsAvailable validates if the name provided is a unique context name
func (v *Validator) ValidateNameIsAvailable(name string) error {
	context, _ := contextutil.GetContext(v.SvcContext, v.Localizer, name)
	if context != nil {
		return v.Localizer.MustLocalizeError("context.create.log.alreadyExists", localize.NewEntry("Name", name))
	}
	return nil
}
func ( v * Validator ) ValidateNameIsAvailable ( name string ) error { context , _ := contextutil . GetContext ( v . SvcContext , v . Localizer , name ) if context != nil { return v . Localizer . MustLocalizeError ( " " , localize . NewEntry ( " " , name ) ) } return nil }
ValidateNameIsAvailable validates if the name provided is a unique context name
ValidateNameIsAvailable validates if the name provided is a unique context name