/Engine/Source/Editor/Kismet/Public/BlueprintEditor.h
Is the main details panel currently showing 'Class defaults' (Note: Has nothing to do with the standalone class defaults panel)?
bool IsDetailsPanelEditingClassDefaults() const