hasNext() method

Syntax

public boolean hasNext ()