private void removeFilterWidget(FilterWidget widget) {
		filterWidgets.remove(widget);
		mainPanel.remove(widget);
		if (mainPanel.getComponentCount() == 0) {
			addFilterWidget();
		}
		changeListener.call();
		validate();

	}
Returns true the panel has only valid filters. (Blank filter is ok)
@return true the panel has only valid filters
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/search/dialog/BSimFilterPanel.java