code: def find_medium_metabolites(model):
      
      return [met.id for rxn in model.medium
              for met in model.reactions.get_by_id(rxn).metabolites]
docs: Return the list of metabolites ingested/excreted by the model.