/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h
Takes anFNameand checks to see that it follows the rules that Unreal requires.
true if the name is valid
bool IsValidXName ( [FText](API\Runtime\Core\Internationalization\FText) & OutReason, const [FString](API\Runtime\Core\Containers\FString) & InInvalidChars ) const