docs: public static boolean unregisterExtension(String key) {
          if (key == null) {
              throw new IllegalArgumentException(
                              "Parameter 'key' can not be null");
          }
          w.lock();
          try {
              return extensionMap.remove(key) != null;
          } finally {
              w.unlock();
          }
      }