<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_all(self, items):
 """ Adds the elements in the specified collection to this queue. :param items: (Collection), collection which includes the items to be added. :return: (bool), ``true`` if this queue is changed after call, ``false`` otherwise. """

        check_not_none(items, "Value can't be None")
        data_items = []
        for item in items:
            check_not_none(item, "Value can't be None")
            data_items.append(self._to_data(item))
        return self._encode_invoke(queue_add_all_codec, data_list=data_items)