Sentence 1: Admirable perhaps, but not necessarily the way to win a war.

Sentence 2: It is not necessarily the way to win a war.
Is this second sentence entailed by the first sentence?
yes