docs: protected LayoutNodeType getLayoutNodeType(HttpServletRequest request, String folderNodeId) {
          final IUserInstance userInstance = this.userInstanceManager.getUserInstance(request);
          final IUserPreferencesManager preferencesManager = userInstance.getPreferencesManager();
          final IUserLayoutManager userLayoutManager = preferencesManager.getUserLayoutManager();
          final IUserLayoutNodeDescription node = userLayoutManager.getNode(folderNodeId);
  
          if (node == null) {
              return null;
          }
  
          return node.getType();
      }