wpiformat/wpiformat/cpplint.py
def InClassDeclaration(self):
    """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.
    """
    return self.stack and isinstance(self.stack[-1], _ClassInfo)
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.
    
Check if we are currently one level inside a class or struct declaration.
Check if we are currently one level inside a class or struct declaration .
def InClassDeclaration(self):
    return self.stack and isinstance(self.stack[-1], _ClassInfo)
def InClassDeclaration ( self ) : return self . stack and isinstance ( self . stack [ - 1 ] , _ClassInfo )
Check if we are currently one level inside a class or struct declaration.
Check if we are currently one level inside a class or struct declaration .
"""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.
    """
True if top of the stack is a class/struct, False otherwise.
True if top of the stack is a class / struct False otherwise .
self