code: func (md *MobileDetect) matchDetectionRulesAgainstUA() bool {
  	for _, ruleValue := range md.rules.mobileDetectionRules() {
  		if "" != ruleValue {
  			if md.match(ruleValue) {
  				return true
  			}
  		}
  	}
  
  	return false
  }
docs: //Find a detection rule that matches the current User-agent.