If your MacBook Pro has been recalled by Apple for a battery hazard, you might not be able to take it on a plane.
According to Apple, some 15-inch MacBook Pros sold between September 2015 and February 2017 have batteries that may overheat and pose a fire safety risk. The US Federal Aviation Administration has alerted major US airlines about the recall. This means the affected laptops are not allowed on flights as either cargo or carry-on baggage.