<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _blocked(self, args):
 """RabbitMQ Extension."""

        reason = args.read_shortstr()
        if self.on_blocked:
            return self.on_blocked(reason)