code: def gam_in_biomass(model, reaction):
      
      id_of_main_compartment = helpers.find_compartment_id_in_model(model, 'c')
  
      try:
          left = {
              helpers.find_met_in_model(
                  model, "MNXM3", id_of_main_compartment)[0],
              helpers.find_met_in_model(
                  model, "MNXM2", id_of_main_compartment)[0]
          }
          right = {
              helpers.find_met_in_model(
                  model, "MNXM7", id_of_main_compartment)[0],
              helpers.find_met_in_model(
                  model, "MNXM1", id_of_main_compartment)[0],
              helpers.find_met_in_model(
                  model, "MNXM9", id_of_main_compartment)[0]
          }
      except RuntimeError:
          return False
  
      return (
          left.issubset(set(reaction.reactants)) and
          right.issubset(set(reaction.products)))
docs: Return boolean if biomass reaction includes growth-associated maintenance.
  
      Parameters
      ----------
      model : cobra.Model
          The metabolic model under investigation.
      reaction : cobra.core.reaction.Reaction
          The biomass reaction of the model under investigation.
  
      Returns
      -------
      boolean
          True if the biomass reaction includes ATP and H2O as reactants and ADP,
          Pi and H as products, False otherwise.