boolean (Module module, @Nullable Facet parent, FacetTypeId<?> typeId) { final FacetTreeModel treeModel = getTreeModel(module); final FacetInfo parentInfo = getFacetInfo(parent); return treeModel.hasFacetOfType(parentInfo, typeId); }