def is_gesture(self):
		"""Macro to check if this event is
		a :class:`~libinput.event.GestureEvent`.
		"""

		if self in {type(self).GESTURE_SWIPE_BEGIN, type(self).GESTURE_SWIPE_END,
			type(self).GESTURE_SWIPE_UPDATE, type(self).GESTURE_PINCH_BEGIN,
			type(self).GESTURE_PINCH_UPDATE, type(self).GESTURE_PINCH_END}:
			return True
		else:
			return False
Macro to check if this event is
		a :class:`~libinput.event.GestureEvent`.