'Check if we are currently one level inside a class or struct declaration.
Returns:
True if top of the stack is a class/struct, False otherwise.'

def InClassDeclaration(self):

    return (self.stack and isinstance(self.stack[(-1)], _ClassInfo))
