you don't need to say `== true`, you can just do `if is_prime(candidate)`