Pillar.__valid_ext(): use any() & a set