Issue #5 - Small code improvement

Use `boolean` function to convert the result.

Thanks @symlock
https://twitter.com/symlock/status/342893469053902848