Test if this context or its parent has a key.
the key used to test
'true' if the key is found in the context tree, 'false' otherwise