/Engine/Source/Runtime/Projects/Public/ProjectDescriptor.h
Finds the index of a plugin in the references array
int32 FindPluginReferenceIndex ( const [FString](API\Runtime\Core\Containers\FString) & PluginName ) const