code: protected boolean isInstanceOfAtLeastOne(Set<Class<? extends BioPAXElement>> classes, Object value)
  	{
  		boolean check = false;
  		for (Class aClass : classes)
  		{
  			if (aClass.isInstance(value))
  			{
  				check = true;
  				break;
  			}
  		}
  		return check;
  	}
docs: Checks if <em>value</em> is an instance of one of the classes given in a set. This method
  becomes useful, when the restrictions have to be checked for a set of objects. e.g. check if the
  value is in the range of the editor.
  
  @param classes a set of classes to be checked
  @param value value whose class will be checked
  @return true if value belongs to one of the classes in the set