I am trying to update an ArcGIS Notebook to use the 2.4 API version and am getting stuck on determining if a layer in a web map is a group layer. In the previous version of the API I used this method:

But in the new version of the API I'm not seeing a "layerType" property that I can use to do the same thing. I can see there's a Group Layer in my map by using content.layers (below), but I'm not sure how to do the same thing I was doing in the 2.3 version.
