Tests the current element the iterator refers.
true if the current element is correct; otherwise, the method returns false.