/Engine/Source/Editor/UnrealEd/Public/Toolkits/BaseToolkit.h
Returns true if this is a world-centric asset editor. That is, the user is editing the asset inline in a Level Editor app.
bool IsWorldCentricAssetEditor() const