/Engine/Source/Developer/ToolMenus/Public/ToolMenus.h
Returns true if slate initialized and editor GUI is being used. The application should have been initialized before this method is called.
True if slate initialized and editor GUI is being used.
static bool IsToolMenuUIEnabled()