/Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h
Returns true if the default modes are active. Note that there can be more than one default mode, and this will only return true if all default modes are active.
bool IsDefaultModeActive() const