public boolean checkMMS(Message message){
  return message.getImages().length != 0 || (message.getMedia().length != 0 && message.getMediaMimeType() != null) || (settings.getSendLongAsMms() && Utils.getNumPages(settings,message.getText()) > settings.getSendLongAsMmsAfter() && message.getType() != Message.TYPE_VOICE) || (message.getAddresses().length > 1 && settings.getGroup()) || message.getSubject() != null;
}

public boolean checkMMS ( Message message ) { return message . getImages ( ) . length != 0 || ( message . getMedia ( ) . length != 0 && message . getMediaMimeType ( ) != null ) || ( settings . getSendLongAsMms ( ) && Utils . getNumPages ( settings , message . getText ( ) ) > settings . getSendLongAsMmsAfter ( ) && message . getType ( ) != Message . TYPE_VOICE ) || ( message . getAddresses ( ) . length > 1 && settings . getGroup ( ) ) || message . getSubject ( ) != null ; }
a method for checking whether or not a certain message will be sent as mms depending on its contents and the settings
