Added isTraversable, isArrayAccess and keyIsset

I added three important assertions that are missing. See the code for details.
for arrays, it should use ``array_key_exists``