asBoolean

Converts an integer into a boolean.

Return

true if the integer is 1, false if 0.