allow determining boolean value from integer
Merge pull request #211 from avalanche123/boolean-from-int-fix

allow determining boolean value from integer