IGuardedPtr
Guarded pointer interface.
If an invalid index is given, then an appropriate exception will be thrown.
checkIndex
Returns true if the specified index is valid.
true
true if the specified index is valid