And how do we know this?
They discussed it.
Smith told Obama, when (presumably) Obama asked if he'd play him in the movie.
"I told [Obama] jokingly, 'It's definitely something I would consider, you just have to write the ending.' So he's working on the ending right now," the Oscar-nominee added.Oh, and Obama's working on the ending of the movie about....himself.