boolean (final Module module, final MasterDetailsComponent.MyNode moduleNode) { boolean facetsExist = false; getFacetConfigurator().addFacetInfos(module); final FacetModel facetModel = getFacetConfigurator().getFacetModel(module); for (Facet facet : facetModel.getSortedFacets()) { addFacetNode(facet, moduleNode); facetsExist = true; } return facetsExist; }