code: public static <FACETEDTYPE extends Faceted<?>, FACETTYPE extends Facet<FACETEDTYPE>> boolean isConstraintSatisfied(
              Faceted<FACETTYPE> faceted, Set<Class<FACETTYPE>> requiredFacets)
     {
        boolean constraintsSatisfied = true;
        for (Class<FACETTYPE> type : requiredFacets)
        {
           if (!faceted.hasFacet(type))
           {
              constraintsSatisfied = false;
              break;
           }
        }
        return constraintsSatisfied;
     }
docs: Inspect the given {@link Class}, and return <code>true</code> if all declared constraints have been satisfied.