<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_future(cls, future):
 """Adds a future to the list of in-order futures thus far. Args: future: The future to add to the list. """

    if cls._local._activated:
      cls._local._in_order_futures.add(future)