Is there a function to know a group or a component is a solid group or a solid component?

Hi Experts,

A Solid in SketchUp is a single Group or Component whose geometry meets certain conditions. When those conditions are met, Entity Info in SketchUp application indicates the model is a Solid Group or Solid Component.

In SketchUp SDK, is there a function to know a group or a component is a solid group or a solid component? Or Is there a function, its input is faces, then output is to tell you if these faces can be converted as a solid or not?

Thanks
Phenix