Question: Who did Chopin hear play violin in 1829 that prompted him to write a composisition?

Is Back in Warsaw that year, Chopin heard Niccolo Paganini play the violin, and composed a set of variations, Souvenir de Paganini. a good answer to this question?

Available choices:
1). yes.
2). no.
1).