verify there is a context