It think it was as real as it gets in that movie.
But one thing bugged me. He walked away. He did not care if it was real or not. That is highly inconsistent with his behaviour in the rest of the film. He couldn't stand living in the fake world with Mal, why would he stand living in a world that might very well be fake with his kids?