This method of the ElementEnumeration class determines if there are any more matching elements.
public boolean hasMoreElements();
Returns true if the next call to nextElement will return a non-null result.