public boolean checkOrigin(String origin) {
    try {
      return CorsUtils.isValidOrigin(origin, zConf);
    } catch (UnknownHostException | URISyntaxException e) {
      LOG.error(e.toString(), e);
    }
    return false;
  }
@Test
  void checkInvalidOrigin() {
    assertFalse(notebookServer.checkOrigin("http://evillocalhost:8080"));
  }