@skipIf(not CACHE_TIMEOUT, "Caching is disabled.")
    def test_render_header_no_cache(self):
        template = Template("{% load adcode_tags %}{% render_section_header %}")
        context = RequestContext(self.request, {})
        cache.clear()
        with self.assertNumQueries(0):
            # No additional queries to header which does not access placements
            template.render(context)
Returns True if lock exists and has not timed out.
dataset/ETHPy150Open mlavin/django-ad-code/adcode/tests/test_performance.py/QueryCountsTestCase.test_render_header_no_cache--crossover with--dataset/ETHPy150Open Robpol86/Flask-Celery-Helper/flask_celery.py/_LockManagerRedis.is_already_running