Improve some methods to return strict boolean values

I found that some methods returns falsy values, and improve it returns false.