No, getContextObject will use a parent context to get the key if key is not present, where hasContextKey will look just in current context.