code: public boolean checkLastExpressionForDetectionPoint (DetectionPoint triggerDetectionPoint) {
  		for (DetectionPoint detectionPoint : getLastExpression().getDetectionPoints()) {
  			if (detectionPoint.typeMatches(triggerDetectionPoint)) {
  				return true;
  			}
  		}
  
  		return false;
  	}
docs: /* checks whether the last expression contains a DetectionPoint
  matching the type of triggerDetectionPoint