code: def update(self, **kwargs):
          r
          for key, value in kwargs.items():
              try:
                  is_property = isinstance(getattr(self.__class__, key), property)
              except AttributeError:
                  continue
  
              if is_property:
                  setattr(self, key, value)
docs: r"""Bulk updates this permission object.
  
          Allows you to set multiple attributes by using keyword
          arguments. The names must be equivalent to the properties
          listed. Extraneous key/value pairs will be silently ignored.
  
          Parameters
          ------------
          \*\*kwargs
              A list of key/value pairs to bulk update permissions with.