docs: private NamingEnumeration<SearchResult> checkSearchCache(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws WIMException {
          final String METHODNAME = "checkSearchCache";
          NamingEnumeration<SearchResult> neu = null;
          if (getSearchResultsCache() != null) {
              String key = null;
              if (filterArgs == null) {
                  key = toKey(name, filterExpr, cons);
              } else {
                  key = toKey(name, filterExpr, filterArgs, cons);
              }
              CachedNamingEnumeration cached = (CachedNamingEnumeration) getSearchResultsCache().get(key);
  
              if (cached == null) {
                  if (tc.isDebugEnabled()) {
                      Tr.debug(tc, METHODNAME + " Miss cache: " + key);
                  }
                  neu = search(name, filterExpr, filterArgs, cons, null);
                  String[] reqAttrIds = cons.getReturningAttributes();
                  neu = updateSearchCache(name, key, neu, reqAttrIds);
              } else {
                  if (tc.isDebugEnabled()) {
                      Tr.debug(tc, METHODNAME + " Hit cache: " + key);
                  }
                  neu = (CachedNamingEnumeration) cached.clone();
              }
          } else {
              neu = search(name, filterExpr, filterArgs, cons, null);
          }
          return neu;
      }