Shorter boolean conversion