/Engine/Source/Editor/ViewportInteraction/Public/ViewportWorldInteraction.h
For other systems to check if the Viewport World Interaction system currently has candidate actors selected
bool HasCandidatesSelected()