docs: private static boolean containsKey(ResourceBundle bundle, String key) {
          for (Enumeration<String> en = bundle.getKeys(); en.hasMoreElements(); ) {
              if (en.nextElement().equals(key)) {
                  return true;
              }
          }
          return false;
      }