CompositeTypes.iscompositeMethod
iscomposite(x)

Is x a composite object?

If an object is composite, then its components can be queried using the components function.