parameters: (self)
return_statement: return self.is_scalar() or \
              any(self.attributes[key] for key in ['diag', 'symmetric', 'PSD', 'NSD'])
docstring: Is the Leaf symmetric?
docstring_summary: Is the Leaf symmetric?
docstring_tokens: Is the Leaf symmetric?
function: def is_symmetric(self) -> bool:
          """Is the Leaf symmetric?
          """
          return self.is_scalar() or \
              any(self.attributes[key] for key in ['diag', 'symmetric', 'PSD', 'NSD'])
function_tokens: def is_symmetric ( self ) -> bool : return self . is_scalar ( ) or any ( self . attributes [ key ] for key in [ 'diag' , 'symmetric' , 'PSD' , 'NSD' ] )