def IsFunctionClose(self):
    return (self._function_stack and
            self._function_stack[-1].block_depth == self._block_depth)
Returns true if the current token is a function block close.
dataset/ETHPy150Open google/closure-linter/closure_linter/statetracker.py/StateTracker.IsFunctionClose