Select from the following. -- Yes -- No

Robin started a cooking class with her friends and quickly decided to become a chef. Given the question "Why did Robin do this?", is "did this because she liked the class" a valid answer?
Answer:
Yes