The film’s plot is close to Favreau’s own life, even though he is a director whereas the film’s protagonist is a chef.