/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h
This function doesn't recurse into sub-paths.
bool HasAssets ( const [FName](API\Runtime\Core\UObject\FName) PackagePath, bool bARFiltering ) const