docs: public <T extends Widget & Checkable> List<T> getCheckedWidgets() {
          List<T> checked = new ArrayList<>();
  
          for (Widget c : getChildren()) {
              if (c instanceof Checkable && ((Checkable) c).isChecked()) {
                  checked.add((T) c);
              }
          }
  
          return checked;
      }