def _check_solve_output(out, err):
    """
    Verify from shell output that the Radia solve completed satisfactorily.
    Will print any output from the shell.
    :param out: (bytes) STDOUT piped from shell
    :param err: (bytes) STDERR piped from shell
    :return: (bool) True if STDERR is empty. False if STDERR is non-empty.
    """
    if err:
        print("Error occurred during Radia solve procedure:")
        print(out.decode())
        print(err.decode())
        return False
    else:
        print("Solve finished")
        print(out.decode())
        return True