Configure qMRMLSubjectHierarchyTreeView?

Hi,

Is it possible to hide all empty folders and markupNodes with no control points from a qMRMLSubjectHierarchyTreeView ?

Thank you