/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h
Checks to see that a given name-like string follows the rules that Unreal requires.
true if the name is valid
static bool IsValidXName ( const [FString](API\Runtime\Core\Containers\FString) & InName, const [FString](API\Runtime\Core\Containers\FString) & InInvalidChars, [FText](API\Runtime\Core\Internationalization\FText) * OutReason, const [FText](API\Runtime\Core\Internationalization\FText) * InErrorCtx )