boolean (T selectedValue) { ListModel<T> model = myGetComboboxModel.get(); if (model instanceof ComboBoxPopupState) { //noinspection unchecked return ((ComboBoxPopupState<T>)model).hasSubstep(selectedValue); } return super.hasSubstep(selectedValue); }