docs: public static void assertNodeTypeExists(final Session session, final String nodeTypeName)
              throws RepositoryException {
  
          final NodeTypeManager ntm = session.getWorkspace().getNodeTypeManager();
          assertTrue("NodeType " + nodeTypeName + " does not exist", ntm.hasNodeType(nodeTypeName));
      }