'Get the first task in the stack.
:return: The top task in the stack, or None if the stack is empty.
:rtype: AnalysisTask'

@property
def _top_task(self):

    if (not self._task_stack):
        return None
    return self._task_stack[(-1)]
