Scott Logic Interview Question

Design a filter that accepts conditionals