<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def next_event_type(self):
 		"""Return the type of the next event in the internal queue. 		This method does not pop the event off the queue and the next call 		to :attr:`events` returns that event. 		Returns: 			~libinput.constant.EventType: The event type of the next available 			event or :obj:`None` if no event is available. 		"""


		type_ = self._libinput.libinput_next_event_type(self._li)
		if type_ == 0:
			return None
		else:
			return EventType(type_)