if (ranges != null && !ranges.isEmpty())
{
final Iterator rangeIt = ranges.iterator();
while (rangeIt.hasNext())
{
final MultiplicityRange multiplicityRange = (MultiplicityRange)rangeIt.next();
final int upper = multiplicityRange.getUpper();
isMany = upper > 1 || upper < 0;
}
}
}
return isMany;