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