question: public static boolean isStanza ( Packet packet ) { if ( packet instanceof Message ) return true ; if ( packet instanceof IQ ) return true ; if ( packet instanceof Presence ) return true ; return false ; }
target:  Returns true if the packet is a Stanza as defined in RFC-6121 - a Message, IQ or Presence packet. 