Method ADT.Sequence()->SequenceIterator()->has_next()
- Method has_next
bool
has_next(void
|int
steps
)- Returns
Returns true if it is possible to move
steps
steps forwards, ifsteps
weren't supplied it check if it is possible to move one step forward.