<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def take_ordereds_out_of_turn(self) -> tuple: """ Takes all Ordered messages from outbox out of turn """

        for replica in self._replicas.values():
            yield replica.instId, replica._remove_ordered_from_queue()