def is_stale(self):
return self._stale<EOL>
Returns True if the context is stale.

        If the context is stale, this means there are pending changes. To update
        the model, you should call resolve_context().