/Engine/Source/Editor/UnrealEd/Classes/Editor/UnrealEdEngine.h
CanDeleteComponentandCanDeleteActor.
bool CanDeleteSelectedActors ( const [UWorld](API\Runtime\Engine\Engine\UWorld) * InWorld, const bool bStopAtFirst, const bool bLogUndeletable, [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > * OutDeletableActors ) const