/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h
Check whether the specified package file is a map
true if the package is not a map file
bool PackageIsAMapFile ( const TCHAR * PackageFilename, [FText](API\Runtime\Core\Internationalization\FText) & OutNotMapReason )