BUG: Ensured any and all return boolean values, gh-4352

Please let me know if I need to write tests, and where to put them etc.