code: def _get_mod_conditions(self, mod_term):
          
          site = mod_term.get('site')
          if site is not None:
              mods = self._parse_site_text(site)
          else:
              mods = [Site(None, None)]
  
          mcs = []
          for mod in mods:
              mod_res, mod_pos = mod
              mod_type_str = mod_term['type'].lower()
              mod_state = agent_mod_map.get(mod_type_str)
              if mod_state is not None:
                  mc = ModCondition(mod_state[0], residue=mod_res,
                                    position=mod_pos, is_modified=mod_state[1])
                  mcs.append(mc)
              else:
                  logger.warning('Unhandled entity modification type: %s'
                                 % mod_type_str)
          return mcs
docs: Return a list of ModConditions given a mod term dict.