nl_tokens: Returns true if the facet contains a refinement or if a value passed is a refinement for the facet .
pl_tokens: function isHierarchicalFacetRefined ( facet , value ) { if ( ! this . isHierarchicalFacet ( facet ) ) { throw new <mask> ( facet + ' is not defined in the hierarchicalFacets attribute of the helper configuration' ) ; } var refinements = this . getHierarchicalRefinement ( facet ) ; if ( ! value ) { return refinements . length > 0 ; } return indexOf ( refinements , value ) !== - 1 ; }