ArcGIS Pro 2.6 API Reference Guide
IsContainer Property

ArcGIS.Desktop.Core Namespace > Item Class : IsContainer Property
Gets if the item contains other items
Syntax
public virtual bool IsContainer {get;}
Public Overridable ReadOnly Property IsContainer As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Item Class
Item Members