code: def is_magic(self):
          
          return (self.name.startswith('__') and
                  self.name.endswith('__') and
                  self.name not in VARIADIC_MAGIC_METHODS)
docs: Return True iff this method is a magic method (e.g., `__str__`).