this also works:

if selectedFilter: