<human>: Question: When had samurai last been used in battle?
Answer: With no warfare since the early 17th century, samurai gradually lost their military function during the Tokugawa era (also called the Edo period).
 Is the question answered in a satisfactory fashion?

OPTIONS:
- yes
- no
<bot>: yes