code: static boolean isO2JCached(String key, String protocol, String value) {
          Map<String, String> p2j = o2j.get(key);
          if (p2j == null) {
              return false;
          } else {
              return value.equals(p2j.get(protocol));
          }
      }
docs: Tests if the specified key-value pair has been cached in OpenSSL-to-Java cache.