renamed applyFilter to isFiltered