FEditorClassUtils::IsBlueprintAsset

Returns whether the specified asset is a UBlueprint or UBlueprintGeneratedClass (or any of their derived classes)