/Engine/Source/Runtime/Engine/Classes/Engine/InterpCurveEdSetup.h
Look through CurveEdSetup and see if any properties of selected object is being shown.
bool ShowingCurve ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * InCurve )