Есть ли способ встроить этот цикл for?
already_inserted = True for i in indexes: already_inserted = already_inserted and bitfield[i]