<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def resume_runs(dirnames, t_output_every, t_upto, parallel=False):
 """Resume many models, and run. Parameters dirnames: list[str] List of output directory paths from which to resume. output_every: int see :class:`Runner`. t_upto: float Run each model until the time is equal to this parallel: bool Whether or not to run the models in parallel, using the Multiprocessing library. If `True`, the number of concurrent tasks will be equal to one less than the number of available cores detected. """

    run_model_partial = partial(run_model, t_output_every, force_resume=True,
                                t_upto=t_upto)
    run_func(run_model_partial, dirnames, parallel)