There's already isMms(), but that could be a notification-ind as well.  The instanceof isn't even really correct, though, since the MMS could just be a text MMS.  You need a method that indicates there are parts.