Returns whether the requested index exists
$index
Checks whether the requested index index exists.
index
The index being checked.
true if the requested index exists, otherwise false
true
false