SplDoublyLinkedList::offsetExists — Returns whether the requested $index exists
$index
index
The index being checked.
true if the requested index exists, otherwise false
true
false