<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dequeue(self, block=True):
 """Dequeue a record and return item."""

        return self.queue.get(block, self.queue_get_timeout)