<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _stop_consumers(self, number_of_consumers=0):
 """Stop a specific number of consumers. :param number_of_consumers: :return: """

        while len(self._consumers) > number_of_consumers:
            consumer = self._consumers.pop()
            consumer.stop()