<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def interrupt(self):
 		""" 		Invoked on a write operation into the IR of the RendererDevice. 		"""

		if(self.device.read(9) & 0x01):
			self.handle_request()
		self.device.clear_IR()