Adding a check_all function.