/Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h
For other systems to check if the Viewport World Interaction system is currently aligning transformables to actors
bool AreAligningToActors() const