code: def is_touch(self):
  		
  
  		if self in {type(self).TOUCH_DOWN, type(self).TOUCH_UP,
  			type(self).TOUCH_MOTION, type(self).TOUCH_CANCEL,
  			type(self).TOUCH_FRAME}:
  			return True
  		else:
  			return False
docs: Macro to check if this event is
  		a :class:`~libinput.event.TouchEvent`.