for ( int ii = 0; ii < reqControls.length; ii++ )
{
// found the subentry request control so we return its value
if ( reqControls[ii].getID().equals( SUBENTRY_CONTROL ) )
{
SubentryRequestControl subentryControl = ( SubentryRequestControl ) reqControls[ii];
return subentryControl.getSubentryVisibility();
}
}
return false;
}