docs: public void setAllowCustom(boolean allowCustom) {
          customItem.setVisible(allowCustom);
          
          if (!allowCustom) {
              BaseComponent sibling;
              
              while ((sibling = customItem.getNextSibling()) != null) {
                  removeChild(sibling);
              }
          }
      }