Warning: SPOILERS ahead for Hobbs & Shaw.

Fast & Furious spinoff sees Dwayne Johnson reprise his role as Luke Hobbs alongside Jason Statham as Deckard Shaw. Hobbs & Shaw is the ninth film in the Fast & Furious franchise and the first time Hobbs and Shaw team up without the rest of the crew ing them.

In their latest mission, the two men must keep Deckard's younger sister, Hattie (Vanessa Kirby), away from the Hobbs & Shaw in order to achieve this goal. One person who agrees to help them is a character played by Kevin Hart, who appears in a cameo for the movie.

Related: Every Fast & Furious Character Referenced In Hobbs & Shaw

Hart plays Federal Air Marshal Dinkley, who appears about halfway through Hobbs & Shaw. He first shows up while Hobbs, Deckard, and Hattie are on a plane to Moscow, inserting himself during a heated exchange of insults between the two men. Dinkley tries to cool them down before correctly guessing they're on a special mission. Throughout his conversation with Hobbs and Shaw, Dinkley repeatedly offers to be a part of the team. He also mentions he still has connections to vehicles and weapons from his time in the U.S. military and can get Hobbs and Shaw access to anything they might need. Dinkley later checks in with them to make sure they made it safely to Samoa in a plane that he procured for them.

Jumanji Welcome to the Jungle cast

There's no doubt that Hart's Hobbs & Shaw role happened because of his pre-existing working relationship with Johnson. The actors have appeared in two feature films together - 2016's Jumanji: The Next Level. Hobbs & Shaw director David Leitch provided some additional information on Hart's cameo, telling Collider that it "was an easy call to make" because of his and Johnson's connection, plus the inclusion of the Dinkley character sprang from the need to have "a Leo Getz-type characterhelp move the plot along.

Hart's cameo is just one of many in Hobbs & Shaw, but his part proves to be an essential one. Considering Dinkley frequently pitches himself to become a member of the team, there's a decent chance that Hart could reprise his role in a potential Hobbs & Shaw sequel.

Next: What You Need To Know About Hobbs & Shaw 2