question: public static void validateCompositeData ( CompositeData cd ) { if ( cd == null ) { throw new NullPointerException ( "Null CompositeData" ) ; } if ( ! isTypeMatched ( getBaseGcInfoCompositeType ( ) , cd . getCompositeType ( ) ) ) { throw new IllegalArgumentException ( "Unexpected composite type for GcInfo" ) ; } }
target:  Returns true if the input CompositeData has the expected CompositeType (i.e. contain all attributes with expected names and types).  Otherwise, return false.