/Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h
Test whether or not the given string is already the name string of a component on the the owner Optionally excludes an existing component from the check (ex. a component currently being renamed)
True if the InString is an available name for a component of ComponentOwner
static bool IsComponentNameAvailable ( const [FString](API\Runtime\Core\Containers\FString) & InString, [UObject](API\Runtime\CoreUObject\UObject\UObject) * ComponentOwner, const [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * ComponentToIgnore )