<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extend(self, values):
 """Append multiple elements to the fact."""

        if self.asserted:
            raise RuntimeError("Fact already asserted")

        self._multifield.extend(values)