Also good to remember that booleans can have 3 values: true, false, or null. Creating a partial index on `WHERE NOT NULL` can be helpful too.
A complete index over a column will have entries for all records, and can be used on "x is null" and "x is not null" filters.