Checks whether index is accessed by accessLexeme.
The ContainerIndex, which is accessed
The access lexeme
Whether the index of the ContainerIndex is accessed i.e. the position in the container and not e.g. the name of the index
true, when accessLexeme accesses the index, false otherwise
Checks whether index is accessed by accessLexeme.