src/validator.js
function (attribute, findRules) {
    var rules = this.rules[attribute] || [];
    for (var i = 0, len = rules.length; i < len; i++) {
      if (findRules.indexOf(rules[i].name) > -1) {
        return true;
      }
    }
    return false;
  }
function (attribute, findRules) {
    var rules = this.rules[attribute] || [];
    for (var i = 0, len = rules.length; i < len; i++) {
      if (findRules.indexOf(rules[i].name) > -1) {
        return true;
      }
    }
    return false;
  }
function ( attribute , findRules ) { var rules = this . rules [ attribute ] || [ ] ; for ( var i = 0 , len = rules . length ; i < len ; i ++ ) { if ( findRules . indexOf ( rules [ i ] . name ) > - 1 ) { return true ; } } return false ; }
Determine if attribute has any of the given rules

@param  {string}  attribute
@param  {array}   findRules
@return {boolean}
Determine if attribute has any of the given rules