def IsFunctionClose(self):
    return (self._function_stack and
            self._function_stack[-1].block_depth == self._block_depth)
If a class is redefined as a function, a warning is emitted.
dataset/ETHPy150Open google/closure-linter/closure_linter/statetracker.py/StateTracker.IsFunctionClose--crossover with--dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_classRedefinedAsFunction