code: private boolean checkFacetNameOnParentExists(UIComponentClassicTagBase parentTag, String facetName)
      {
          return parentTag._facetsAdded != null && parentTag._facetsAdded.contains(facetName);
      }
docs: check if the facet is already added to the parent