code: def is_tablet_pad(self):
  		
  
  		if self in {type(self).TABLET_PAD_BUTTON, type(self).TABLET_PAD_RING,
  			type(self).TABLET_PAD_STRIP}:
  			return True
  		else:
  			return False
docs: Macro to check if this event is
  		a :class:`~libinput.event.TabletPadEvent`.