code: def get_degradations(self):
          
          deg_events = self.tree.findall("EVENT/[type='ONT::CONSUME']")
          for event in deg_events:
              if event.attrib['id'] in self._static_events:
                  continue
              affected = event.find(".//*[@role=':AFFECTED']")
              if affected is None:
                  msg = 'Skipping degradation event with no affected term.'
                  logger.debug(msg)
                  continue
  
              # Make sure the degradation is affecting a molecule type
              # Temporarily removed for CwC compatibility with no type tag
              #affected_type = affected.find('type')
              #if affected_type is None or \
              #   affected_type.text not in molecule_types:
              #    continue
  
              affected_id = affected.attrib.get('id')
              if affected_id is None:
                  logger.debug(
                      'Skipping degradation event with missing affected agent')
                  continue
  
              affected_agent = self._get_agent_by_id(affected_id,
                                                     event.attrib['id'])
              if affected_agent is None:
                  logger.debug(
                      'Skipping degradation event with missing affected agent')
                  continue
  
              agent = event.find(".//*[@role=':AGENT']")
              if agent is None:
                  agent_agent = None
              else:
                  agent_id = agent.attrib.get('id')
                  if agent_id is None:
                      agent_agent = None
                  else:
                      agent_agent = self._get_agent_by_id(agent_id,
                                                          event.attrib['id'])
              ev = self._get_evidence(event)
              location = self._get_event_location(event)
              for subj, obj in \
                      _agent_list_product((agent_agent, affected_agent)):
                  st = DecreaseAmount(subj, obj, evidence=deepcopy(ev))
                  _stmt_location_to_agents(st, location)
                  self.statements.append(st)
              self._add_extracted(_get_type(event), event.attrib['id'])
docs: Extract Degradation INDRA Statements.