CLN: usual boolean check dont use is
BUG: make sure we dont throw because our dup bool indexer has the wrong type