try {
Class objectClass = object.getClass();
PrivilegedGetMethod privilegedGetMethod = new PrivilegedGetMethod(objectClass, getIsSetMethodName(), getIsSetParameterTypes(), false, true);
Method isSetMethod = privilegedGetMethod.run();
PrivilegedMethodInvoker privilegedMethodInvoker = new PrivilegedMethodInvoker(isSetMethod, object, isSetParameters);
isSet = (Boolean) privilegedMethodInvoker.run();
} catch (Exception e) {
throw new RuntimeException(e);
}
return isSet.booleanValue();
}