/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h
Returns whether the passed in filename ends with any of the known package extensions.
True if the filename ends with a package extension.
static bool IsPackageFilename ( FStringView Filename )