/**
  * This is an optimization - check the basic stuff to see if we have a match before actually
  * trying to do the projection
  */
 public boolean isMatch(EventWrapper eventWrapper) {
   if (eventWrapper.getMessageType() != mMessageType) {
     return false;
   }
   if (eventWrapper instanceof EventWrapper.MPEventWrapper) {
     if (matchAppEvent((EventWrapper.MPEventWrapper) eventWrapper)) {
       return true;
     }
   } else {
     CommerceEvent commerceEvent =
         matchCommerceEvent((EventWrapper.CommerceEventWrapper) eventWrapper);
     if (commerceEvent != null) {
       ((EventWrapper.CommerceEventWrapper) eventWrapper).setEvent(commerceEvent);
       return true;
     }
   }
   return false;
 }