Did Astronauts Really Eat Astronaut Ice Cream?

You probably picked some up at a museum gift shop on a school trip. Did astronauts really bring this stuff into space?