def METHOD_NAME(self, use_channels=None):
    for channel_id, channel in iteritems(self.__channels):
        if(use_channels is None):
            yield channel
        else:
            if channel_id in use_channels:
                yield channel