code: def is_tablet_tool(self):
  		
  
  		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
docs: Macro to check if this event is
  		a :class:`~libinput.event.TabletToolEvent`.