/Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h
Makes sure that all function graphs are flagged as bAllowDeletion=true, except for construction script and animgraph:
static void ConformAllowDeletionFlag ( [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * Blueprint )