<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def append_to_list(self, key, *value, pipeline=False):
 """Add new element to the end of the list stored at key. Args: key (str):
 Key where the list is stored value: Value to add to the list pipeline (bool):
 True, start a transaction block. Default false. """

        if pipeline:
            self._pipeline.rpush(key, *value)
        else:
            self._db.rpush(key, *value)