Basically. While the ticket is not the actual contract, by buying an airline ticket you are agreeing to the airline’s contract—so you wouldn’t have the ticket without having agreed to the contract.