code: public boolean typeAndThresholdContainsDetectionPoint(DetectionPoint detectionPoint) {
  		for (DetectionPoint myPoint : getAllDetectionPoints()) {
  			if (detectionPoint.typeAndThresholdMatches(myPoint)) {
  				return true;
  			}
  		}
  		return false;
  	}
docs: /* checks whether the Rule contains a detection point of the same type and threshold
  as the detectionPoint parameter