minor fix (return bool instead of int)
Merge pull request #99 from Hasufel/patch-1

minor fix (return bool instead of int)