def update(self, **kwargs):
for key, value in kwargs.items():<EOL><INDENT>try:<EOL><INDENT>is_property = isinstance(getattr(self.__class__, key), property)<EOL><DEDENT>except AttributeError:<EOL><INDENT>continue<EOL><DEDENT>if is_property:<EOL><INDENT>setattr(self, key, value)<EOL><DEDENT><DEDENT>
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.