Added isTraversable, isArrayAccess and keyIsset

I added three important assertions that are missing. See the code for details.
This is misleading, as it does not test for ArrayAccess alone.