def is_superset(self, other):
if isinstance(other, Permissions):<EOL><INDENT>return (self.value | other.value) == self.value<EOL><DEDENT>else:<EOL><INDENT>raise TypeError("<STR_LIT>".format(self.__class__.__name__, other.__class__.__name__))<EOL><DEDENT>
Returns True if self has the same or more permissions as other.