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

		if self in {type(self).TABLET_TOOL_AXIS, type(self).TABLET_TOOL_BUTTON,
			type(self).TABLET_TOOL_PROXIMITY, type(self).TABLET_TOOL_TIP}:
			return True
		else:
			return False
Macro to check if this event is
		a :class:`~libinput.event.TabletToolEvent`.