<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_list(append_to, value):
 """Appends the value to the list."""

    if value is not None:
        if isinstance(value, list):
            append_to.extend(value)
        else:
            append_to.append(value)