Yes, it is a real photo of Kennedy & Kerry. They go way back.
I knew they went way back, but I never saw the picture of them together and Kerry in his anti-war garb.