Input: Sentence 1: The Tokugawa shoguns, however, sensed that the internal strains might be contained, by sheer brute force if necessary, as long as new pressures were not exerted from outside by foreigners once again offering disgruntled daimyo new sources of income. Sentence 2: The shoguns could sense the internal strains might be contained.
Output: 

 yes