code: @Override
  	public boolean satisfies(Match match, int... ind)
  	{
  		PhysicalEntity pe1 = (PhysicalEntity) match.get(ind[0]);
  		PhysicalEntity pe2 = (PhysicalEntity) match.get(ind[1]);
  
  		Set<ModificationFeature>[] mods =
  			DifferentialModificationUtil.getChangedModifications(pe1, pe2);
  
  		Set<String> terms;
  
  		if (type == Type.GAIN) terms = collectTerms(mods[0]);
  		else if (type == Type.LOSS) terms = collectTerms(mods[1]);
  		else terms = collectTerms(mods);
  
  		return termsContainDesired(terms);
  	}
docs: Checks the any of the changed modifications match to any of the desired modifications.
  @param match current pattern match
  @param ind mapped indices
  @return true if a modification change is among desired modifications