docs: public boolean isMemberInURLQuery(LdapURL[] urls, String dn) throws WIMException {
          boolean result = false;
          String[] attrIds = {};
          String rdn = LdapHelper.getRDN(dn);
          if (urls != null) {
              for (int i = 0; i < urls.length; i++) {
                  LdapURL ldapURL = urls[i];
                  if (ldapURL.parsedOK()) {
                      String searchBase = ldapURL.get_dn();
                      // If dn is not under base, no need to do search
                      if (LdapHelper.isUnderBases(dn, searchBase)) {
                          int searchScope = ldapURL.get_searchScope();
                          String searchFilter = ldapURL.get_filter();
                          if (searchScope == SearchControls.SUBTREE_SCOPE) {
                              if (searchFilter == null) {
                                  result = true;
                                  break;
                              } else {
                                  NamingEnumeration<SearchResult> nenu = search(dn, searchFilter, SearchControls.SUBTREE_SCOPE, attrIds);
                                  if (nenu.hasMoreElements()) {
                                      result = true;
                                      break;
                                  }
                              }
                          } else {
                              if (searchFilter == null) {
                                  searchFilter = rdn;
                              } else {
                                  searchFilter = "(&(" + searchFilter + ")(" + rdn + "))";
                              }
  
                              NamingEnumeration<SearchResult> nenu = search(searchBase, searchFilter, searchScope, attrIds);
                              if (nenu.hasMoreElements()) {
                                  SearchResult thisEntry = nenu.nextElement();
                                  if (thisEntry == null) {
                                      continue;
                                  }
                                  String returnedDN = LdapHelper.prepareDN(thisEntry.getName(), searchBase);
                                  if (dn.equalsIgnoreCase(returnedDN)) {
                                      result = true;
                                      break;
                                  }
                              }
                          }
                      }
                  }
              }
          }
  
          return result;
      }