}
private static boolean getInterceptor(org.omg.CORBA.Policy[] policies) {
for (int i = 0; i < policies.length; i++) {
if (policies[i].policy_type() == INTERCEPTOR_POLICY_ID.value) {
InterceptorPolicy policy = (InterceptorPolicy) policies[i];
return policy.value();
}
}
return true;
}