<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _top_function_analysis_task(self):
 """ Get the first FunctionAnalysis task in the stack. :return: The top function analysis task in the stack, or None if there isn't any. :rtype: FunctionAnalysis """


        for r in reversed(self._task_stack):
            if isinstance(r, FunctionAnalysis):
                return r
        return None