/Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h
Selects/de-selects actors belonging to the named layers.
true if at least one actor was selected/deselected.
bool SelectActorsInLayers ( const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & LayerNames, const bool bSelect, const bool bNotify, const bool bSelectEvenIfHidden )