public static boolean isWddx(Object o){
  if (!(o instanceof String))   return false;
  String str=o.toString();
  if (!(str.indexOf("wddxPacket") > 0))   return false;
  WDDXConverter converter=new WDDXConverter(TimeZone.getDefault(),false,true);
  try {
    converter.deserialize(Caster.toString(o),true);
  }
 catch (  Exception e) {
    return false;
  }
  return true;
}

public static boolean isWddx ( Object o ) { if ( ! ( o instanceof String ) ) return false ; String str = o . toString ( ) ; if ( ! ( str . indexOf ( "wddxPacket" ) > 0 ) ) return false ; WDDXConverter converter = new WDDXConverter ( TimeZone . getDefault ( ) , false , true ) ; try { converter . deserialize ( Caster . toString ( o ) , true ) ; } catch ( Exception e ) { return false ; } return true ; }
tests if object is a wddx object
