/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h
Takes anFNameand checks to see that it follows the rules that Unreal requires for package or group names.
true if the name is valid
bool IsValidGroupName ( [FText](API\Runtime\Core\Internationalization\FText) & OutReason, bool bIsGroupName ) const