/Engine/Source/Editor/UnrealEd/Public/PackageTools.h
Checks if the package has only one asset which shares its name
true if the package has only one asset which shares the name of the package
static bool IsSingleAssetPackage ( const [FString](API\Runtime\Core\Containers\FString) & Package )