how to get context function for Stmt

Hello,

Looks like I miss something obvious, but what is the way to get context FunctionDecl if I have Stmt reference.

Thanks!
Vladimir.