If "I put the cake away in the refrigerator. It has a lot of leftovers in it.", is "The cake has a lot of leftovers in it." correct?

pick from the following. * no * yes
Answer:
no