(PHP 5 >= 5.3.0)
SplDoublyLinkedList::offsetExists — Returns whether the requested $index exists
$index
index
The index being checked.
TRUE if the requested index exists, otherwise FALSE
TRUE
FALSE