[#642] Make check functions consistent (return bool instead of raising exceptions)