In esri js api 3.* I have the code: if (this.map.infoWindow instanceof Popup)
Now in jas api 4.* I have a 3d scene.
How is the above code converted for js api 4 ?