int → bool
port this to GNU bash 1.12.1 from http://www.qemu-advent-calendar.org/#day-1