can_filter() seems to do the opposite so could that be used instead?