private boolean isCustomType(ValueHelper helper) {
try{
TypeCode tc = helper.get_type();
int kind = tc.kind().value();
if (kind == TCKind._tk_value) {
return (tc.type_modifier() == org.omg.CORBA.VM_CUSTOM.value);
}
} catch(BadKind ex) {
throw wrapper.badKind(ex) ;
}