code: public boolean isTypeOrSubtype( Set<Name> nodeTypeNames,
                                      Name candidateSupertypeName ) {
          for (Name nodeTypeName : nodeTypeNames) {
              if (isTypeOrSubtype(nodeTypeName, candidateSupertypeName)) return true;
          }
          return false;
      }
docs: Determine whether at least one of the node's given node types matches or extends the node type with the supplied name.
  
  @param nodeTypeNames the names of the node types of a node; may not be null
  @param candidateSupertypeName the name of the potential supertype node type; may not be null
  @return true if the node type does extend or match the node type given by at least one of the supplied names, or false
  otherwise