code: function (component, textMatch) {
          if (component.hasFeature && component.hasFeature(jsVObject_Node))
              component = component.getValue();
  
          var isMatching = Util.textMatch(component, textMatch.value, textMatch["match-type"]);
          return (textMatch["negate-condition"] ^ isMatching);
      }
docs: This method checks the validity of a text-match.
  
  A single text-match should be specified as well as the specific property
  or parameter we need to validate.
  
  @param {jsVObject_Node|String} component Value to check against.
  @param {Object} textMatch
  @return bool