<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_external_metabolites(model):
 """Return all metabolites in the external compartment."""

    ex_comp = find_external_compartment(model)
    return [met for met in model.metabolites if met.compartment == ex_comp]