'Compare this :class:`UnaryExpression` against the given
:class:`.ClauseElement`.'

def compare(self, other, **kw):

    return (isinstance(other, UnaryExpression) and (self.operator == other.operator) and (self.modifier == other.modifier) and self.element.compare(other.element, **kw))
