<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_stopped_threads (self):
 """Remove the stopped threads from the internal thread list."""

        self.threads = [t for t in self.threads if t.is_alive()]