How do I tell which viewport is being rendered?

Ok found a solution, it doesn’t directly answer my initial question but it gives me the result I need.

So you have a reference to a FSceneViewFamily object, in this object is a FSceneInterface pointer variable called Scene which contains a pointer to the world.
Now the world has a type which I can just do a check to see if it’s not an editor preview world.

InViewFamily.Scene->GetWorld()->WorldType != EWorldType::EditorPreview

I do also make sure that it’s not thumbnail rendering or that the view does actually have a state.

    // Inside my FSceneViewExtensionBase subclass
  	virtual void SetupView(FSceneViewFamily& InViewFamily, FSceneView& InView) override
  	{
  		bIsNormalRendering = !InViewFamily.bThumbnailRendering
  		&& InView.State != nullptr
#if WITH_EDITOR
  		&& InViewFamily.Scene->GetWorld()->WorldType != EWorldType::EditorPreview
#endif
  		;
  	};