code: def find_components_without_sbo_terms(model, components):
      
      return [elem for elem in getattr(model, components) if
              elem.annotation is None or 'sbo' not in elem.annotation]
docs: Find model components that are not annotated with any SBO terms.
  
      Parameters
      ----------
      model : cobra.Model
          The metabolic model under investigation.
      components : {"metabolites", "reactions", "genes"}
          A string denoting `cobra.Model` components.
  
      Returns
      -------
      list
          The components without any SBO term annotation.