/Engine/Source/Editor/UnrealEd/Public/Layers/LayersSubsystem.h
Remove the actors to the named layers
true if at least one actor was removed from at least one layer. false is returned if none of the actors belonged to any of the specified layers.
bool RemoveActorsFromLayers ( const [TArray](API\Runtime\Core\Containers\TArray)< [AActor](API\Runtime\Engine\GameFramework\AActor) * > & Actors, const [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & LayerNames, const bool bUpdateStats )