compile: optimizations in :has weren't triggered
test: simplify API tests
test: test calling `is` with a function
test: test optimizations for unsatisfiable and universally valid selectors