}
private static boolean getLocateRequest(org.omg.CORBA.Policy[] policies) {
for (int i = 0; i < policies.length; i++) {
if (policies[i].policy_type() == LOCATE_REQUEST_POLICY_ID.value) {
LocateRequestPolicy policy = (LocateRequestPolicy) policies[i];
return policy.value();
}
}
return false;
}