public boolean isNewKeyAllowed(String typeUrl) {
    return newKeyAllowedMap.get(typeUrl);
  }
@return a {@link KeyManager} for the given {@code typeUrl} (if found).
java_src/src/main/java/com/google/crypto/tink/internal/KeyManagerRegistry.java