def test_error_key_dev_staging(self):
        self.assert_error_key_update(
            doc_version='0.4.1.dev1',
            environment=Environments.STAGING,
            should_update=True
        )
Returns True if the key is in the cache and has not expired.
dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_release.py/PublishDocsTests.test_error_key_dev_staging--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/core/cache/backends/base.py/BaseCache.__contains__