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

		if self in {type(self).TABLET_PAD_BUTTON, type(self).TABLET_PAD_RING,
			type(self).TABLET_PAD_STRIP}:
			return True
		else:
			return False