parameters: (self)
return_statement: return self.stack and isinstance(self.stack[-1], _NamespaceInfo)
docstring: Check if we are currently one level inside a namespace body.
  
      Returns:
        True if top of the stack is a namespace block, False otherwise.
docstring_summary: Check if we are currently one level inside a namespace body.
docstring_tokens: Check if we are currently one level inside a namespace body .
function: def InNamespaceBody(self):
      """Check if we are currently one level inside a namespace body.
  
      Returns:
        True if top of the stack is a namespace block, False otherwise.
      """
      return self.stack and isinstance(self.stack[-1], _NamespaceInfo)
function_tokens: def InNamespaceBody ( self ) : return self . stack and isinstance ( self . stack [ - 1 ] , _NamespaceInfo )