Read the following paragraph and determine if the hypothesis is true:

Philip John Boswell (born 23 July 1963) is a Scottish National Party (SNP) politician. He was the Member of Parliament (MP) for Coatbridge, Chryston and Bellshill since being elected in the United Kingdom general election, 2015 until he lost to Labour candidate Hugh Gaffney in the United Kingdom General Election, 2017 by 1,586 votes.

Hypothesis: Philip John Boswell defeated Hugh Gaffney in the 2015 general election